summaryrefslogtreecommitdiff
path: root/games/nethack-qt/patches/patch-ai
blob: 45c7a59cddcc68f74cb62f6f2e1f53cfa9f15b6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-ai,v 1.3 2007/08/08 20:30:27 joerg Exp $

--- win/Qt/qt_win.cpp.orig	2003-12-07 23:39:13.000000000 +0000
+++ win/Qt/qt_win.cpp
@@ -102,11 +102,7 @@ extern "C" {
 #include "qt_xpms.h"
 
 #include <dirent.h>
-#ifdef Q_WS_MACX
-#  include <sys/malloc.h>
-#else
-#  include <malloc.h>
-#endif
+#include <stdlib.h>
 
 #ifdef _WS_X11_
 // For userid control
@@ -4278,7 +4274,7 @@ void NetHackQtYnDialog::done(int i)
 
 NetHackQtGlyphs::NetHackQtGlyphs()
 {
-    const char* tile_file = "nhtiles.bmp";
+    const char* tile_file = "tiles.xpm";
     if ( iflags.wc_tile_file )
 	tile_file = iflags.wc_tile_file;