Fixed keyword list replacements messing up due to being multi-line.

Fixed GCC warnings.
Added linux installer directory.



git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@394 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
coppro
2007-05-19 15:11:14 +00:00
parent e5289b78d9
commit c51d7f8458
14 changed files with 47 additions and 34 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ void MultipleChoiceValueEditor::determineSize(bool force_fit) {
bool MultipleChoiceValueEditor::onLeftDown(const RealPoint& pos, wxMouseEvent& ev) {
// find item under cursor
if (style().render_style & RENDER_CHECKLIST) {
int id = (pos.y - style().top) / item_height;
int id = (int)((pos.y - style().top) / item_height);
int end = field().choices->lastId();
if (id >= 0 && id < end) {
toggle(id);