From ebd2a407e0d08996054201b49787188dba67d5f2 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 22 Feb 2012 14:32:46 +0100 Subject: [PATCH] Revert "support comments in language list file" as tokenize_console already does it This reverts commit 279a9ad89a3d5c909969cc4597d56200355942b5. --- qcsrc/menu/xonotic/languagelist.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/qcsrc/menu/xonotic/languagelist.c b/qcsrc/menu/xonotic/languagelist.c index ebb947c736..5f6226f493 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; -- 2.39.2