-// (c) Copyright 2006-2010 notaz, All rights reserved.\r
-// Free for non-commercial use.\r
-\r
-// For commercial use, separate licencing terms must be obtained.\r
+/*\r
+ * (C) GraÅžvydas "notaz" Ignotas, 2006-2010\r
+ *\r
+ * This work is licensed under the terms of any of these licenses\r
+ * (at your option):\r
+ * - GNU GPL, version 2 or later.\r
+ * - GNU LGPL, version 2.1 or later.\r
+ * See the COPYING file in the top-level directory.\r
+ */\r
\r
#include <stdio.h>\r
#include <string.h>\r
p++;\r
}\r
\r
- x = g_menuscreen_w / 2 - w * me_mfont_w / 2;\r
+ x = g_menuscreen_w / 2 - w * me_mfont_w / 2;\r
y = g_menuscreen_h / 2 - h * me_mfont_h / 2;\r
if (x < 0) x = 0;\r
if (y < 0) y = 0;\r
if (x < 0) x = 0;\r
y = g_menuscreen_h / 2 - h / 2;\r
if (y < 0) y = 0;\r
+#ifdef MENU_ALIGN_LEFT\r
+ if (x > 12 + me_mfont_w * 2)\r
+ x = 12 + me_mfont_w * 2;\r
+#endif\r
\r
menu_draw_begin(1);\r
\r