h = g_menuscreen_h;\r
}\r
\r
- x = g_menuscreen_w / 2 - w / 2;\r
+ x = g_menuscreen_w / 2 - w / 2;\r
y = g_menuscreen_h / 2 - h / 2;\r
+#ifdef MENU_ALIGN_LEFT\r
+ if (x > 12) x = 12;\r
+#endif\r
\r
/* draw */\r
menu_draw_begin(1);\r
len = strlen(names[i]);\r
if (len > 10)\r
offs = 10 - len - 2;\r
- if (i == *(int *)ent->var) {\r
+ if (i == *(unsigned char *)ent->var) {\r
text_out16(x + col2_offs + offs * me_mfont_w, y, "%s", names[i]);\r
break;\r
}\r