Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6641a1f
)
ecere/gui/EditBox: Fixed bad memory access parsing comments
author
Jerome St-Louis
<jerome@ecere.com>
Sat, 16 Mar 2013 20:20:06 +0000
(16:20 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Sat, 16 Mar 2013 20:20:06 +0000
(16:20 -0400)
ecere/src/gui/controls/EditBox.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/controls/EditBox.ec
b/ecere/src/gui/controls/EditBox.ec
index
0ff9de8
..
7791478
100644
(file)
--- a/
ecere/src/gui/controls/EditBox.ec
+++ b/
ecere/src/gui/controls/EditBox.ec
@@
-1668,7
+1668,7
@@
private:
}
else if(wordLen == 1 && word[0] == '*')
{
- if(
!c
|| word[-1] != '/')
+ if(
c < 2
|| word[-1] != '/')
lastWasStar = true;
}
else if(!inSingleLineComment && !inMultiLineComment && !inQuotes && wordLen == 1 && word[0] == '\"')