Skip to content

Commit

Permalink
Bug correction in escape_path_containing_blanks (by Andreas Ronge)
Browse files Browse the repository at this point in the history
  • Loading branch information
glejeune committed Dec 7, 2009
1 parent b5b8f49 commit 50c55c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
@@ -1,3 +1,6 @@
0.9.7 :
* Small bug correction in escape_path_containing_blanks (by Andreas Ronge)

0.9.6 :
* jRuby support (by obruening)
* Issue #1 : STDOUT in binmode
Expand Down
2 changes: 1 addition & 1 deletion lib/graphviz.rb
Expand Up @@ -710,7 +710,7 @@ def add_exe_suffix(prog)


def escape_path_containing_blanks(path)
path.gsub!(File::ALT_SEPARATOR, File::SEPARATOR)
path.gsub!(File::ALT_SEPARATOR, File::SEPARATOR) if File::ALT_SEPARATOR
path_elements = path.split(File::SEPARATOR)
path_elements.map! do |element|
if element.include?(' ')
Expand Down

0 comments on commit 50c55c9

Please sign in to comment.