Changeset 6141 for trunk/WINDOW/AW_button.cxx
- Timestamp:
- 14/08/09 16:29:27 (3 years ago)
- Files:
-
- 1 modified
-
trunk/WINDOW/AW_button.cxx (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WINDOW/AW_button.cxx
r6126 r6141 76 76 free(var_value); 77 77 } 78 root->value_changed = false; // Maybe value changed is set because Moti gcalls me78 root->value_changed = false; // Maybe value changed is set because Motif calls me 79 79 } 80 80 … … 1987 1987 if (destinationList) clear_selection_list(destinationList); 1988 1988 else { 1989 printf(" Destination list not initiali sed!!\n");1989 printf(" Destination list not initialized!!\n"); 1990 1990 return 0; 1991 1991 } … … 2071 2071 } 2072 2072 else { 2073 res = fprintf( fd, "%s\n", list_table->displayed ); // save plain (no interpr atation)2073 res = fprintf( fd, "%s\n", list_table->displayed ); // save plain (no interpretation) 2074 2074 } 2075 2075 … … 2107 2107 2108 2108 if (ko) { 2109 if (selection_list->value_equal_display) { // here no komma should occur2109 if (selection_list->value_equal_display) { // here no comma should occur 2110 2110 if (correct_old_format == -1) { 2111 2111 correct_old_format = aw_ask_sure(GBS_global_string("'%s' seems to be in old selection-list-format. Try to correct?", *fname)); … … 2114 2114 if (correct_old_format == 1) { 2115 2115 *ko = '#'; // restore (was converted by old-version save) 2116 ko = 0; // ignore komma2116 ko = 0; // ignore comma 2117 2117 } 2118 2118 } … … 2120 2120 2121 2121 if (ko) *(ko++) = 0; 2122 else ko = pl; // if no komma -> display same as value2122 else ko = pl; // if no comma -> display same as value 2123 2123 2124 2124 while (*ko == ' ' || *ko == '\t') ko++; … … 2255 2255 #endif 2256 2256 2257 get_root()->number_of_option_menu es++;2257 get_root()->number_of_option_menus++; 2258 2258 2259 2259 AW_awar *vs = root->awar(var_name); 2260 2260 { 2261 2261 AW_option_menu_struct *next = 2262 new AW_option_menu_struct(get_root()->number_of_option_menu es,2262 new AW_option_menu_struct(get_root()->number_of_option_menus, 2263 2263 var_name, 2264 2264 vs->variable_type,
