Skip to content

Commit

Permalink
Merge pull request #47 from RicardoEPRodrigues/master
Browse files Browse the repository at this point in the history
Fixes #45
  • Loading branch information
gkngkc committed Nov 6, 2018
2 parents 8cec421 + 65f55d9 commit 1dc5307
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file not shown.
Binary file modified Package/StandaloneFileBrowser.unitypackage
Binary file not shown.
2 changes: 1 addition & 1 deletion Plugins/Linux/StandaloneFileBrowser/library.c
Expand Up @@ -127,7 +127,7 @@ GTKOpenPanel(const char* title, const char* directory, const char* extensions, b
strcpy(filename, name);
g_free(name);
}
} else if (res == GTK_RESPONSE_CANCEL) {
} else { // if (res == GTK_RESPONSE_CANCEL) {
filename = malloc(sizeof(char));
filename[0] = '\0';
}
Expand Down

0 comments on commit 1dc5307

Please sign in to comment.