]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/i18n.qh
Merge branch 'TimePath/inventory_tweaks'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / i18n.qh
index e439b22aa56799006c3eea004fa17fd987e699ae..8ebedb76f65f66110d3fd26ffaa46277e1b24021 100644 (file)
@@ -1,8 +1,7 @@
-#ifndef I18N_H
-#define I18N_H
+#pragma once
 
 #include "log.qh"
-#include "map.qc"
+#include "map.qh"
 #include "unsafe.qh"
 
 // translation helpers
@@ -50,12 +49,10 @@ string CTX(string s)
        int p = strstrofs(s, "^", 0);
        string ret = (p < 0) ? s : substring(s, p + 1, -1);
 #if CTX_CACHE
-        LOG_DEBUGF("CTX(\"%s\")\n", s);
+        LOG_DEBUGF("CTX(\"%s\")", s);
                HM_sets(CTX_cache, s, ret);
 #endif
        return ret;
 }
 
 #define ZCTX(s) strzone(CTX(s))
-
-#endif