smallmap_gui.c
changeset 534 17ab2f22ff74
parent 507 8aa8100b0b22
child 541 e1cd34389f79
--- a/smallmap_gui.c	Wed Dec 01 21:35:14 2004 +0000
+++ b/smallmap_gui.c	Thu Dec 02 22:53:07 2004 +0000
@@ -798,7 +798,7 @@
 						y + 6 > dpi->top &&
 						y < dpi->top + dpi->height) {
 					// And draw it.
-					SET_DPARAM16(0, t->index);
+					SetDParam(0, t->index);
 					DrawString(x, y, STR_2056, 12);
 				}
 			}
@@ -846,7 +846,7 @@
 
 
 		/* draw the window */
-		SET_DPARAM16(0, STR_00E5_CONTOURS + _smallmap_type);
+		SetDParam(0, STR_00E5_CONTOURS + _smallmap_type);
 		DrawWindowWidgets(w);
 
 		/* draw the legend */
@@ -1019,7 +1019,7 @@
 	switch(e->event) {
 	case WE_PAINT: {
 		// set the number in the title bar
-		SET_DPARAM16(0, (w->window_number+1));
+		SetDParam(0, (w->window_number+1));
 
 		DrawWindowWidgets(w);
 		DrawWindowViewport(w);