summaryrefslogtreecommitdiff
path: root/iup/src/win/iupwin_text.c
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-09-09 18:00:52 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-09-09 18:00:52 +0200
commit5e07c45ec238edc5bf5a31d6c46034d26d6e1a21 (patch)
tree3dc1069179dc1167930629c395d651dff6b32024 /iup/src/win/iupwin_text.c
parentf7fd8a78ca79c81637c54e179f0359313ed58c8b (diff)
Last typo ? (I hope)
Diffstat (limited to 'iup/src/win/iupwin_text.c')
-rwxr-xr-xiup/src/win/iupwin_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iup/src/win/iupwin_text.c b/iup/src/win/iupwin_text.c
index 9db9af6..5d1400d 100755
--- a/iup/src/win/iupwin_text.c
+++ b/iup/src/win/iupwin_text.c
@@ -1198,7 +1198,7 @@ void iupdrvTextAddFormatTag(Ihandle* ih, Ihandle* formattag)
/* saves current selection / scroll position before doing anything */
line0 = SendMessage(ih->handle, EM_GETFIRSTVISIBLELINE, 0, 0);
- SendMessage(ih->handle, EM_EXGETSEL, 0, (LPARAM)&oldrange);
+ SendMessage(ih->handle, EM_EXGETSEL, 0, (LPARAM)&oldRange);
selection = iupAttribGet(formattag, "SELECTION");
if (selection)
{