mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 05:08:54 -07:00
lint fix
This commit is contained in:
@@ -1939,7 +1939,7 @@ struct webview_priv
|
||||
|
||||
webview_dialog(w, WEBVIEW_DIALOG_TYPE_OPEN, WEBVIEW_DIALOG_FLAG_FILE, "", "",
|
||||
filename, 255);
|
||||
if (strlen(filename))
|
||||
if (strlen(filename) > 0)
|
||||
{
|
||||
[listener chooseFilename:[NSString stringWithUTF8String:filename]];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user