mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 12:30:31 +02:00
* Fix from Ken Wright for broken FPC changes
git-svn-id: trunk@13211 -
This commit is contained in:
parent
ddd02b7f26
commit
6fa94ad9d8
@ -144,6 +144,10 @@ Unit oCrt;
|
|||||||
| 1) Added nReadScr, nReadScrStr, nReadScrColor, nWriteScrStr,
|
| 1) Added nReadScr, nReadScrStr, nReadScrColor, nWriteScrStr,
|
||||||
| nGrabScreen, nPopScreen, nReleaseScreen.
|
| nGrabScreen, nPopScreen, nReleaseScreen.
|
||||||
| 2) Fixed some trouble with PrevWn accuracy.
|
| 2) Fixed some trouble with PrevWn accuracy.
|
||||||
|
2.16.01 | 05/26/2009 | kjw |
|
||||||
|
| 1) Corrected error with tnWindow.PutFrame and wattr_get. Recent
|
||||||
|
| updates to ncurses and ocrt by the FreePascal team introduced an
|
||||||
|
| error with tnWindow.PutFrame's use of wattr_get.
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
}
|
}
|
||||||
Interface
|
Interface
|
||||||
@ -858,10 +862,11 @@ Var
|
|||||||
x,y,
|
x,y,
|
||||||
mx,my,
|
mx,my,
|
||||||
atts : longint;
|
atts : longint;
|
||||||
|
junk : smallint;
|
||||||
|
|
||||||
Begin
|
Begin
|
||||||
wbkgd(win,COLOR_PAIR(nSetColorPair(att)));
|
wbkgd(win,COLOR_PAIR(nSetColorPair(att)));
|
||||||
atts := wattr_get(win,nil,Nil,nil);
|
wattr_get(win,@atts,@junk,nil);
|
||||||
If nisbold(att) then wattr_on(win,atts or A_BOLD,Nil);
|
If nisbold(att) then wattr_on(win,atts or A_BOLD,Nil);
|
||||||
box(win,ACS_VLINE,ACS_HLINE);
|
box(win,ACS_VLINE,ACS_HLINE);
|
||||||
framecolor := att;
|
framecolor := att;
|
||||||
|
Loading…
Reference in New Issue
Block a user