projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b49cbc5
)
Hopefully fix coverity issues
author
Tobias Markus
<tobbi@mozilla-uk.org>
Mon, 23 Feb 2015 00:02:08 +0000
(
01:02
+0100)
committer
Tobias Markus
<tobbi@mozilla-uk.org>
Mon, 23 Feb 2015 00:02:08 +0000
(
01:02
+0100)
src/lisp/lexer.cpp
patch
|
blob
|
history
diff --git
a/src/lisp/lexer.cpp
b/src/lisp/lexer.cpp
index
cd4ab64
..
166d655
100644
(file)
--- a/
src/lisp/lexer.cpp
+++ b/
src/lisp/lexer.cpp
@@
-66,6
+66,10
@@
Lexer::nextChar()
++bufend;
}
}
+
+ if(bufpos == NULL)
+ return;
+
c = *bufpos++;
if(c == '\n')
++linenumber;