summaryrefslogtreecommitdiffstats
path: root/gui/win32/dialogs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/win32/dialogs.c')
-rw-r--r--gui/win32/dialogs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/win32/dialogs.c b/gui/win32/dialogs.c
index 60a8d8c759..edd63d570c 100644
--- a/gui/win32/dialogs.c
+++ b/gui/win32/dialogs.c
@@ -715,7 +715,7 @@ static LRESULT CALLBACK SkinBrowserWndProc(HWND hwnd, UINT iMsg, WPARAM wParam,
{
if (guiIntfStruct.Playing) guiGetEvent(guiCEvent, (void *) guiSetStop);
if (skinName) free(skinName);
- skinName = (char *) malloc(len+1);
+ skinName = malloc(len + 1);
SendMessage(listbox, LB_GETTEXT, (WPARAM) index, (LPARAM) skinName);
/* fill out the full pathname to the skin */
strcpy(skinspath, get_path("skins"));