[GRASS-SVN] r59189 - grass/trunk/include

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Mar 3 12:21:07 PST 2014


Author: marisn
Date: 2014-03-03 12:21:06 -0800 (Mon, 03 Mar 2014)
New Revision: 59189

Modified:
   grass/trunk/include/glocale.h
Log:
Add missing _n() macro for non-NLS compilations. (Blame marisn on r59156 for breaking the build)

Modified: grass/trunk/include/glocale.h
===================================================================
--- grass/trunk/include/glocale.h	2014-03-03 17:00:29 UTC (rev 59188)
+++ grass/trunk/include/glocale.h	2014-03-03 20:21:06 UTC (rev 59189)
@@ -11,6 +11,7 @@
 #define _n(strs,strp,num) G_ngettext(PACKAGE,(strs),(strp),num)
 #else
 #define _(str) (str)
+#define _n(strs,strp,num) ((num == 1) ? (strs) : (strp))
 #endif
 
 #endif



More information about the grass-commit mailing list