diff options
| author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-09-09 18:28:45 +0200 | 
|---|---|---|
| committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-09-09 18:28:45 +0200 | 
| commit | 52bc6767da574b751d5baead84f1eb04a184ac01 (patch) | |
| tree | 94b2daab6248c0eab7da3b6ad43a114850de187b /iup | |
| parent | 5e07c45ec238edc5bf5a31d6c46034d26d6e1a21 (diff) | |
THAT should be the last typo...
Diffstat (limited to 'iup')
| -rwxr-xr-x | iup/src/win/iupwin_text.c | 2 | 
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);  }  | 
