Skip to content
Snippets Groups Projects
Commit cb34aac7 authored by rswindell's avatar rswindell
Browse files

Fix Borland C++Builder 6 build error:

Expression syntax in function unicode_to_cp437
:-(
parent 62368a6d
No related branches found
No related tags found
No related merge requests found
......@@ -653,11 +653,14 @@ char unicode_to_cp437(enum unicode_codepoint codepoint)
return '\xDF';
default: // Look for a 1:1 match in the CP437 -> Unicode table
for(int i = 1; i < 0x100; i++) {
{
int i;
for(i = 1; i < 0x100; i++) {
if(cp437_unicode_tbl[i] == codepoint)
return i;
}
break;
}
}
return '\0'; // Not-mapped
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment