diff options
Diffstat (limited to 'src/Keys.cc')
-rw-r--r-- | src/Keys.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Keys.cc b/src/Keys.cc index f25eb4a..a0aabd5 100644 --- a/src/Keys.cc +++ b/src/Keys.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | //$Id: Keys.cc,v 1.34 2003/06/30 20:59:28 fluxgen Exp $ | 22 | //$Id: Keys.cc,v 1.35 2003/07/02 05:42:21 fluxgen Exp $ |
23 | 23 | ||
24 | 24 | ||
25 | #include "Keys.hh" | 25 | #include "Keys.hh" |
@@ -189,7 +189,11 @@ bool Keys::load(const char *filename) { | |||
189 | } | 189 | } |
190 | 190 | ||
191 | } else { // parse command line | 191 | } else { // parse command line |
192 | 192 | if (last_key == 0) { | |
193 | cerr<<"File: "<<filename<<". Error on line: "<<line<<endl; | ||
194 | cerr<<"> "<<linebuffer<<endl; | ||
195 | break; | ||
196 | } | ||
193 | 197 | ||
194 | const char *str = | 198 | const char *str = |
195 | FbTk::StringUtil::strcasestr(linebuffer.c_str(), | 199 | FbTk::StringUtil::strcasestr(linebuffer.c_str(), |