Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a820790
)
ecere/gui/EditBox: (#670) Yet another number syntax highlighting fix
author
Jerome St-Louis
<jerome@ecere.com>
Fri, 9 Aug 2013 06:11:06 +0000
(
02:11
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Fri, 9 Aug 2013 06:11:06 +0000
(
02:11
-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
498a3cd
..
dc6546b
100644
(file)
--- a/
ecere/src/gui/controls/EditBox.ec
+++ b/
ecere/src/gui/controls/EditBox.ec
@@
-1724,7
+1724,7
@@
private:
{
char * dot = strchr(word, '.');
char * s = null;
- if(dot)
+ if(dot
&& dot == word + wordLen
)
strtod(dot+1, &s);
else
strtod(word, &s);