diff gui/skin/skin.c @ 33097:533c658a18da

Revise font related error messages.
author ib
date Fri, 01 Apr 2011 20:42:06 +0000
parents ca1a01b56c90
children b61dff4c9a35
line wrap: on
line diff
--- a/gui/skin/skin.c	Fri Apr 01 13:59:50 2011 +0000
+++ b/gui/skin/skin.c	Fri Apr 01 20:42:06 2011 +0000
@@ -679,7 +679,7 @@
 
     switch (item->fontid) {
     case -1:
-        skin_error(MSGTR_SKIN_FONT_NotEnoughtMemory);
+        skin_error(MSGTR_SKIN_NotEnoughMemory);
         return 1;
 
     case -2:
@@ -728,7 +728,7 @@
     id = fntFindID(fnt);
 
     if (id < 0) {
-        skin_error(MSGTR_SKIN_FONT_NonExistentFontID, fnt);
+        skin_error(MSGTR_SKIN_FONT_NonExistentFont, fnt);
         return 1;
     }
 
@@ -745,7 +745,7 @@
     item->label  = strdup(txt);
 
     if (!item->label) {
-        skin_error(MSGTR_SKIN_FONT_NotEnoughtMemory);
+        skin_error(MSGTR_SKIN_NotEnoughMemory);
         return 1;
     }
 
@@ -783,7 +783,7 @@
     id = fntFindID(fnt);
 
     if (id < 0) {
-        skin_error(MSGTR_SKIN_FONT_NonExistentFontID, fnt);
+        skin_error(MSGTR_SKIN_FONT_NonExistentFont, fnt);
         return 1;
     }
 
@@ -801,7 +801,7 @@
     item->label  = strdup(txt);
 
     if (!item->label) {
-        skin_error(MSGTR_SKIN_FONT_NotEnoughtMemory);
+        skin_error(MSGTR_SKIN_NotEnoughMemory);
         return 1;
     }