summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-09-09 18:28:45 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-09-09 18:28:45 +0200
commit52bc6767da574b751d5baead84f1eb04a184ac01 (patch)
tree94b2daab6248c0eab7da3b6ad43a114850de187b
parent5e07c45ec238edc5bf5a31d6c46034d26d6e1a21 (diff)
THAT should be the last typo...
-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 5d1400d..5264a85 100755
--- a/iup/src/win/iupwin_text.c
+++ b/iup/src/win/iupwin_text.c
@@ -1227,7 +1227,7 @@ void iupdrvTextAddFormatTag(Ihandle* ih, Ihandle* formattag)
SendMessage(ih->handle, EM_SETCHARFORMAT, SCF_SELECTION, (LPARAM)&charformat);
/* restores selection / scroll position */
- SendMessage(ih->handle, EM_EXSETSEL, 0, LPARAL(&oldRange));
+ SendMessage(ih->handle, EM_EXSETSEL, 0, (LPARAM)&oldRange);
line1 = SendMessage(ih->handle, EM_GETFIRSTVISIBLELINE, 0, 0);
SendMessage(ih->handle, EM_LINESCROLL, 0, line0 - line1);
}