]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/gtkgensurf/bitmap.cpp
apply patch from Martin Gerhardy - more quake2 related modules compiled and misc...
[xonotic/netradiant.git] / contrib / gtkgensurf / bitmap.cpp
index bd5f6172f38daa422263e451bffba5215af9c98b..4ea9393f34e04593e8d7c68f76f710a3e738204c 100644 (file)
@@ -161,7 +161,7 @@ static unsigned char* OpenBitmapFile ()
   if (bmBitsPixel != 8)
   {
     g_FuncTable.m_pfnMessageBox (g_pWnd, "This is not an 8-bit image. GenSurf can't use it.",
-                                 "Bitmap", MB_ICONEXCLAMATION);
+                                 "Bitmap", MB_ICONEXCLAMATION, NULL);
     fclose(fp);
     return NULL; 
   }
@@ -417,7 +417,7 @@ bool OpenBitmap ()
     char Text[256];
 
     sprintf (Text, "Error opening %s", gbmp.name);
-    g_FuncTable.m_pfnMessageBox (g_pWnd, Text, "Bitmap", MB_ICONEXCLAMATION);
+    g_FuncTable.m_pfnMessageBox (g_pWnd, Text, "Bitmap", MB_ICONEXCLAMATION, NULL);
     strcpy (gbmp.name, "");
   }