Changeset 114:0ace7edbb06f in glemon-0.x for new_map_win.cc
- Timestamp:
- 01/06/06 17:07:08 (19 years ago)
- Branch:
- gui
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@2459
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
new_map_win.cc
r109 r114 115 115 else 116 116 { 117 char * def_val_ch=new char [(int)(ch2var[ polishform[i] ].length())]; 118 for(int j=0;j<(int)(ch2var[ polishform[i] ].length());j++) 119 { 120 def_val_ch[j]=ch2var[ polishform[i] ][j]; 121 } 122 polishstack.push(atof(def_val_ch)); 123 delete def_val_ch; 117 polishstack.push(atof(ch2var[ polishform[i] ].c_str())); 124 118 } 125 119 operation=false; … … 202 196 else 203 197 { 204 char * def_val_ch=new char [(int)(ch2var[ polishform[i] ].length())]; 205 for(int j=0;j<(int)(ch2var[ polishform[i] ].length());j++) 206 { 207 def_val_ch[j]=ch2var[ polishform[i] ][j]; 208 } 209 polishstack.push(atof(def_val_ch)); 210 delete def_val_ch; 198 polishstack.push(atof(ch2var[ polishform[i] ].c_str())); 211 199 } 212 200 operation=false;
Note: See TracChangeset
for help on using the changeset viewer.