projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5496cb2
)
Revert "support comments in language list file" as tokenize_console already does it
author
Rudolf Polzer <divverent@xonotic.org>
Wed, 22 Feb 2012 13:32:46 +0000
(14:32 +0100)
committer
Rudolf Polzer <divverent@xonotic.org>
Wed, 22 Feb 2012 13:32:46 +0000
(14:32 +0100)
This reverts commit
279a9ad89a3d5c909969cc4597d56200355942b5
.
qcsrc/menu/xonotic/languagelist.c
patch
|
blob
|
history
diff --git
a/qcsrc/menu/xonotic/languagelist.c
b/qcsrc/menu/xonotic/languagelist.c
index ebb947c73627d21158b174a30adb62f83bb71619..5f6226f493fbee1ec5c5d1214cdf6aae16f62b1e 100644
(file)
--- 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;