summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-09-09 17:40:39 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-09-09 17:40:39 +0200
commitf7fd8a78ca79c81637c54e179f0359313ed58c8b (patch)
treecb4240eb94c771d9d803a5044177dbb61945a645
parente723e2769bf9b9d2d4f6f24fe9f5e21f34ccef1b (diff)
Hey this is C, not 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 0579ebc..9db9af6 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)
{