Skip to content

Commit

Permalink
Handle broken GIfTIs better
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Jul 20, 2020
1 parent cf8c0fc commit 5e10082
Show file tree
Hide file tree
Showing 11 changed files with 228 additions and 9,522 deletions.
2 changes: 1 addition & 1 deletion UserNotification.pas
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ procedure ShowAlertSheet(FormHandle: HWND; const TitleStr, MessageStr: string);
mNSStr := NSString(CFStringCreateWithPascalString(kCFAllocatorDefault, MessageStr, kCFStringEncodingUTF8));//message
okNSStr := NSString(CFStringCreateWithPascalString(kCFAllocatorDefault, 'OK', kCFStringEncodingUTF8));//button caption
fNSStr := NSString(CFStringCreateWithPascalString(kCFAllocatorDefault, '%@', kCFStringEncodingUTF8));//format
NSBeginAlertSheet(tNSStr,okNSStr,nil,nil,theWindow,theID,nil,nil,nil,fNSStr, [mNSStr]);
NSBeginAlertSheet(tNSStr,okNSStr,nil,nil,theWindow,theID,nil,nil,nil,fNSStr, mNSStr);
end;


Expand Down
8 changes: 8 additions & 0 deletions _linux.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ lazbuild -B surfice.lpr
cp surfice ~/Surf_Ice/surfice


rm -rf lib
lazbuild -B surfice.lpr --ws=qt5
cp surfice ~/Surf_Ice/surfice_qt5

#compile Surfice to OpenGL 2.1

Expand All @@ -24,6 +27,11 @@ rm -rf lib
lazbuild -B surfice.lpr
cp surfice ~/Surf_Ice/surficeOld

rm -rf lib
lazbuild -B surfice.lpr --ws=qt5
cp surfice ~/Surf_Ice/surficeOld_qt5


#clean up - remove modified glext so it does not interfere with other builds
rm -rf lib
#cp ./optsCompat.inc ./opts.inc
Expand Down
Loading

0 comments on commit 5e10082

Please sign in to comment.