From: Rudolf Polzer Date: Wed, 22 Feb 2012 13:32:46 +0000 (+0100) Subject: Revert "support comments in language list file" as tokenize_console already does it X-Git-Tag: xonotic-v0.6.0~53^2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ebd2a407e0d08996054201b49787188dba67d5f2;p=xonotic%2Fxonotic-data.pk3dir.git Revert "support comments in language list file" as tokenize_console already does it This reverts commit 279a9ad89a3d5c909969cc4597d56200355942b5. --- diff --git a/qcsrc/menu/xonotic/languagelist.c b/qcsrc/menu/xonotic/languagelist.c index ebb947c73..5f6226f49 100644 --- a/qcsrc/menu/xonotic/languagelist.c +++ b/qcsrc/menu/xonotic/languagelist.c @@ -155,8 +155,6 @@ void XonoticLanguageList_getLanguages(entity me) fh = fopen("languages.txt", FILE_READ); while((s = fgets(fh))) { - if(substring(s, 0, 2) == "//") - continue; // comment n = tokenize_console(s); if(n < 3) continue;