Bugfix: empty echo statement

This commit is contained in:
Andreas Rumpf
2010-03-20 01:07:34 +01:00
parent 33fbf7fd03
commit c5d8a5c1da
5 changed files with 19 additions and 23 deletions

View File

@@ -79,9 +79,8 @@ proc ChooseFileToOpen*(window: PWindow, root: string = ""): string =
else:
result = ""
else:
assert file_chooser_dialog_new != nil
var chooser = file_chooser_dialog_new("Open File", window,
FILE_CHOOSER_ACTION_OPEN,
FILE_CHOOSER_ACTION_OPEN,
STOCK_CANCEL, RESPONSE_CANCEL,
STOCK_OPEN, RESPONSE_OK, nil)
if root.len > 0: