- added themecolor text for textwindow

- fixed bug introduced by rwenzlaff commit in interface.c
  why replace the defButI call with defButS ? you should have seen the
  compile warning... :)
This commit is contained in:
2003-11-12 21:34:12 +00:00
parent fcc8aefd48
commit 3e972a57e9
2 changed files with 4 additions and 4 deletions

View File

@@ -4037,7 +4037,7 @@ short pupmenu_col(char *instr, int maxrow)
y1 -= 6;
}
else {
uiDefButS(block, BUTM, B_NOP, name, x1, y1, width, boxh-1, &val, (float) md->items[a].retval, 0.0, 0, 0, "");
uiDefButI(block, BUTM, B_NOP, name, x1, y1, width, boxh-1, &val, (float) md->items[a].retval, 0.0, 0, 0, "");
y1 -= boxh;
}
//uiDefButI(block, BUTM, B_NOP, md->items[a].str, x1, y1, (short)(width-(rows>1)), (short)(boxh-1), &val, (float)md->items[a].retval, 0.0, 0, 0, "");