Changeset 15075 for trunk/FACT++
- Timestamp:
- 03/15/13 12:20:54 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Readline.cc
r15064 r15075 1311 1311 1312 1312 const string str(buf); 1313 if (Tools::Trim(str)!=".q" )1314 if (history_ search_pos(str.c_str(), -1, history_length-1)!=history_length-1)1313 if (Tools::Trim(str)!=".q" && !Tools::Trim(str).empty()) 1314 if (history_length==0 || history_search_pos(str.c_str(), -1, history_length-1)!=history_length-1) 1315 1315 add_history(buf); 1316 1316
Note:
See TracChangeset
for help on using the changeset viewer.