I work for a company that's extremely anal about warnings; any warning is an
error and warnings are turned up to "11" on the dial.
This is what I had to do to make this compile (diff between new<my code> and
existing 2.2.1 code:
--- old/glui_list.cpp 2012-04-19 19:27:01.866424145 -0700
+++ new/glui_list.cpp 2012-04-19 19:25:55.274482647 -0700
@@ -105,6 +105,7 @@
scrollbar->set_int_val(curr_line);
this->execute_callback();
if (associated_object != NULL)
+ {
if (cb_click_type == GLUI_SINGLE_CLICK) {
if (obj_cb) {
// obj_cb(associated_object, user_id);
@@ -119,6 +120,7 @@
last_line = curr_line;
}
}
+ }
if ( can_draw())
update_and_draw_text();
}
Original issue reported on code.google.com by garybrad...@gmail.com on 20 Apr 2012 at 2:45
Original issue reported on code.google.com by
garybrad...@gmail.com
on 20 Apr 2012 at 2:45