Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
489eb6c
)
ecere/gui/EditBox: Fixed yet another glitch in the number syntax highlighter
author
Jerome St-Louis
<jerome@ecere.com>
Tue, 29 Oct 2013 01:14:27 +0000
(21:14 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Tue, 29 Oct 2013 01:14:27 +0000
(21:14 -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
cfbd24a
..
dec9ec9
100644
(file)
--- a/
ecere/src/gui/controls/EditBox.ec
+++ b/
ecere/src/gui/controls/EditBox.ec
@@
-1732,6
+1732,7
@@
private:
{
char * dot = strchr(word, '.');
char * s = null;
+ if(dot && dot > word + wordLen) dot = null;
if(dot)
strtod((dot == word + wordLen) ? (dot+1) : word, &s);
else