Cleaning
This commit is contained in:
8
osm.pb
8
osm.pb
@@ -241,7 +241,7 @@ Module OSM
|
|||||||
|
|
||||||
Global Proxy = #False
|
Global Proxy = #False
|
||||||
|
|
||||||
;- => Use this to customise your preferences
|
;- => Use this to customize your preferences
|
||||||
; Result = CreatePreferences(GetHomeDirectory() + "OSM.prefs")
|
; Result = CreatePreferences(GetHomeDirectory() + "OSM.prefs")
|
||||||
; If Proxy
|
; If Proxy
|
||||||
; PreferenceGroup("PROXY")
|
; PreferenceGroup("PROXY")
|
||||||
@@ -524,7 +524,7 @@ Module OSM
|
|||||||
;Check if the image exists
|
;Check if the image exists
|
||||||
\nImage = GetTileFromMem(\OSMZoom, \OSMTileX, \OSMTileY)
|
\nImage = GetTileFromMem(\OSMZoom, \OSMTileX, \OSMTileY)
|
||||||
If \nImage = -1
|
If \nImage = -1
|
||||||
;If not, load it in the background (but after the drawing thanks to the mutex)
|
;If not, load it in the background
|
||||||
\GetImageThread = CreateThread(@GetImageThread(), *NewTile)
|
\GetImageThread = CreateThread(@GetImageThread(), *NewTile)
|
||||||
OSM\TilesThreads()\GetImageThread = \GetImageThread
|
OSM\TilesThreads()\GetImageThread = \GetImageThread
|
||||||
Debug " Creating get image thread nb " + Str(\GetImageThread)
|
Debug " Creating get image thread nb " + Str(\GetImageThread)
|
||||||
@@ -953,8 +953,8 @@ CompilerIf #PB_Compiler_IsMainFile
|
|||||||
CompilerEndIf
|
CompilerEndIf
|
||||||
|
|
||||||
; IDE Options = PureBasic 5.42 LTS (Windows - x64)
|
; IDE Options = PureBasic 5.42 LTS (Windows - x64)
|
||||||
; CursorPosition = 757
|
; CursorPosition = 242
|
||||||
; FirstLine = 705
|
; FirstLine = 222
|
||||||
; Folding = ------
|
; Folding = ------
|
||||||
; EnableUnicode
|
; EnableUnicode
|
||||||
; EnableThread
|
; EnableThread
|
||||||
|
Reference in New Issue
Block a user