mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +00:00
Fixed warning C4706: assignment within conditional expression
This commit is contained in:
@@ -375,7 +375,7 @@ SDL_TrayEntry *SDL_InsertTrayEntryAt(SDL_TrayMenu *menu, int pos, const char *la
|
|||||||
|
|
||||||
wchar_t *label_w = NULL;
|
wchar_t *label_w = NULL;
|
||||||
|
|
||||||
if (label && !(label_w = escape_label(label))) {
|
if (label && (label_w = escape_label(label)) != NULL) {
|
||||||
SDL_free(entry);
|
SDL_free(entry);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user