- Cleaned out some of the compiler warnings in the scenario editor (removing unused variables mostly).
- Finally removed the grow box in the corner of the scenario editor window. - Changed #include <iostream> in several headers to #include <iosfwd>, since they were only present for the use of the ostream and istream classes, and cout/cin were unneeded. - Changed bool to Boolean in the old structs, since that's what it was originally. - Small changes to graphtool, including an overload of get_custom_rect. - Added gcd function to mathutil; was needed for something in the new dialog engine git-svn-id: http://openexile.googlecode.com/svn/trunk@71 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -48,7 +48,7 @@ void init_lb() {
|
||||
short i;
|
||||
for (i = 0; i < NLS; i++) {
|
||||
left_button_status[i] = 0;
|
||||
sprintf((char *) strings_ls[i], "");
|
||||
strcpy((char *) strings_ls[i], "");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ void init_rb() {
|
||||
SetControlValue(right_sbar,0);
|
||||
for (i = 0; i < NRS; i++) {
|
||||
right_button_status[i] = 0;
|
||||
sprintf((char *) strings_rs[i], "");
|
||||
strcpy((char *) strings_rs[i], "");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user