diff options
author | srs5694 <srs5694@users.sourceforge.net> | 2011-12-18 16:35:25 -0500 |
---|---|---|
committer | srs5694 <srs5694@users.sourceforge.net> | 2011-12-18 16:35:25 -0500 |
commit | 0541b56fee4e92822340a2b2387508dd58d0ca7c (patch) | |
tree | 7ecbdb2db2e937a52a84b1ae8bcabb89395fd6b3 /support.cc | |
parent | 23d8d54cdffa9bab0395dab92faa1990410bbb9a (diff) | |
download | sgdisk-0541b56fee4e92822340a2b2387508dd58d0ca7c.tar.gz |
Minor bug fixes
Diffstat (limited to 'support.cc')
-rw-r--r-- | support.cc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -38,6 +38,8 @@ string ReadString(void) { string inString; getline(cin, inString); + if (!cin) + cin.clear(); return inString; } // ReadString() |