mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Fixed 'todo' in reader in ASCII build
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@503 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -147,7 +147,7 @@ String read_utf8_line(wxInputStream& input, bool eat_bom, bool until_eof) {
|
||||
wxConvUTF8.MB2WC(result_buf, &buffer[0], size + 1);
|
||||
result.UngetWriteBuf(size);
|
||||
#else
|
||||
// TODO!
|
||||
result = String(&buffer[0], *wxConvCurrent);
|
||||
#endif
|
||||
return eat_bom ? decodeUTF8BOM(result) : result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user