Commit 919dad49 authored by Claes Sjofors's avatar Claes Sjofors

Lang key size bugfix

parent b5d174c7
......@@ -418,7 +418,7 @@ bool Lng::read()
lang_sKey key;
lang_sRecord *record;
strcpy( key.text, r1.text);
strncpy( key.text, r1.text, sizeof(key.text));
key.type = r1.type;
record = (lang_sRecord *) tree_Insert( &sts, tree, &key);
strcpy( record->transl, r2.text);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment