From 5e07c45ec238edc5bf5a31d6c46034d26d6e1a21 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Thu, 9 Sep 2010 18:00:52 +0200 Subject: Last typo ? (I hope) --- iup/src/win/iupwin_text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iup/src/win') 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) { -- cgit v1.2.3