Changeset 105 for trunk/Start.pas
- Timestamp:
- Jan 25, 2018, 11:33:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Start.pas
r104 r105 265 265 r1 := CreateRectRgn(TabOffset + 4 * TabSize + 2, 0, Width, TabHeight); 266 266 CombineRgn(r0, r0, r1, RGN_DIFF); 267 //DeleteObject(r1);267 DeleteObject(r1); 268 268 r1 := CreateRectRgn(QuitBtn.left, QuitBtn.top, QuitBtn.left + QuitBtn.width, 269 269 QuitBtn.top + QuitBtn.height); 270 270 CombineRgn(r0, r0, r1, RGN_OR); 271 //DeleteObject(r1);271 DeleteObject(r1); 272 272 SetWindowRgn(Handle, r0, false); 273 //DeleteObject(r0); // causes crash with Windows 95273 DeleteObject(r0); // causes crash with Windows 95 274 274 end 275 275 else … … 1343 1343 TObject(f.Time)); 1344 1344 until FindNext(f) <> 0; 1345 FindClose(f); 1345 1346 ListIndex[2] := FormerGames.Count - 1; 1346 1347 if (ShowTab = 2) and (FormerGames.Count > 0) then … … 1358 1359 Maps.Add(Copy(f.Name, 1, Length(f.Name) - 9)); 1359 1360 until FindNext(f) <> 0; 1361 FindClose(F); 1360 1362 Maps.Sort; 1361 1363 Maps.Insert(0, Phrases.Lookup('RANMAP'));
Note:
See TracChangeset
for help on using the changeset viewer.