Mercurial > otakunoraifu
diff scn2k/scn2k_text.cc @ 38:658272d883ed
* Support (more or less) button style selects (fuuko's ones)
* Strip text objects from strings (may support object text objects later)
author | thib |
---|---|
date | Tue, 17 Mar 2009 20:35:08 +0000 |
parents | 4d7486cb20a9 |
children | de29c4d2d043 |
line wrap: on
line diff
--- a/scn2k/scn2k_text.cc +++ b/scn2k/scn2k_text.cc @@ -668,7 +668,8 @@ void TextImpl::CreateSelect(Cmd& cmd) { char key[1024]; sprintf(key, "#WINDOW.%03d.SELCOM_USE",text_window_number); int sel_type = 0; - config.GetParam(key, 1, &sel_type); + if (cmd.cmd3 == 1) config.GetParam(key, 1, &sel_type); + else if (cmd.cmd3 == 3) sel_type = 0; int sel_size = cmd.args.size() / 2; int i;