hedgewars/uStore.pas
changeset 6089 adc69bbb24e5
parent 6072 e3dc802965d6
child 6224 42b256eca362
child 6286 835392304f81
equal deleted inserted replaced
6088:47d1b04003d1 6089:adc69bbb24e5
   964         WriteLnToConsole(msgOK);
   964         WriteLnToConsole(msgOK);
   965         // load engine icon
   965         // load engine icon
   966 {$IFNDEF DARWIN}
   966 {$IFNDEF DARWIN}
   967         ico:= LoadImage(UserPathz[ptGraphics] + '/hwengine', ifIgnoreCaps);
   967         ico:= LoadImage(UserPathz[ptGraphics] + '/hwengine', ifIgnoreCaps);
   968         if ico = nil then ico:= LoadImage(Pathz[ptGraphics] + '/hwengine', ifIgnoreCaps);
   968         if ico = nil then ico:= LoadImage(Pathz[ptGraphics] + '/hwengine', ifIgnoreCaps);
   969 {$ENDIF}
       
   970         if ico <> nil then
   969         if ico <> nil then
   971             begin
   970             begin
   972             SDL_WM_SetIcon(ico, 0);
   971             SDL_WM_SetIcon(ico, 0);
   973             SDL_FreeSurface(ico)
   972             SDL_FreeSurface(ico)
   974             end;
   973             end;
       
   974 {$ENDIF}
   975         end
   975         end
   976     else
   976     else
   977         begin
   977         begin
   978         SetScale(cDefaultZoomLevel);
   978         SetScale(cDefaultZoomLevel);
   979 {$IF DEFINED(DARWIN) OR DEFINED(WIN32)}
   979 {$IF DEFINED(DARWIN) OR DEFINED(WIN32)}