Mercurial > otakunoraifu
diff scn2k/scn2k_cmd.cc @ 44:a85cdca1980a
* fixed itoa_ws
* now, configure fails if the requested vorbis lib is not found (so it doesn't build with the wrong lib)
* removed unused current_section in koe_ogg.cc
author | thib |
---|---|
date | Wed, 25 Mar 2009 16:00:52 +0000 |
parents | 01aa5ddf7dc8 |
children | 5f548e5957a8 |
line wrap: on
line diff
--- a/scn2k/scn2k_cmd.cc +++ b/scn2k/scn2k_cmd.cc @@ -487,13 +487,13 @@ bool Flags::Exec(Cmd& cmd) { int i; for (i=0; buf[i] != 0; i++) { if (buf[i] == ' ') { - wc[0] = 0x81; - wc[0] = 0x40; + wc[0] = 0x81; // ' ' in SHIFT_JIS + wc[1] = 0x40; } else if (buf[i] == '-') { - wc[0] = 0x81; - wc[0] = 0x7c; + wc[0] = 0x81; // '-' in SHIFT_JIS + wc[1] = 0x7c; } else if (isdigit(buf[i])) { - wc[0] = 0x82; + wc[0] = 0x82; // number in SHIFT_JIS wc[1] = buf[i] - '0' + 0x4f; } else { continue;