mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 06:40:34 +08:00
lint fix
This commit is contained in:
parent
f1d16a03ec
commit
131fd973cd
@ -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]];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user