found a typo

This commit is contained in:
joten 2013-03-29 23:49:55 +01:00
parent 77bc2168e1
commit 8ece7486a1

View file

@ -21,7 +21,7 @@
Manager_init() Manager_init()
{ {
Local doRestore Local doRestore
Manager_setWindowBorder() Manager_setWindowBorder()
Bar_getHeight() Bar_getHeight()
; axes, dimensions, percentage, flipped, gapWidth ; axes, dimensions, percentage, flipped, gapWidth
@ -31,7 +31,7 @@ Manager_init()
Manager_aMonitor := 1 Manager_aMonitor := 1
Manager_taskBarMonitor := "" Manager_taskBarMonitor := ""
Manager_showTaskBar := True Manager_showTaskBar := True
doRestore := 0 doRestore := 0
If (Config_autoSaveSession = "ask") If (Config_autoSaveSession = "ask")
{ {
@ -43,7 +43,7 @@ Manager_init()
{ {
doRestore := 1 doRestore := 1
} }
SysGet, Manager_monitorCount, MonitorCount SysGet, Manager_monitorCount, MonitorCount
Loop, % Manager_monitorCount Loop, % Manager_monitorCount
{ {
@ -59,7 +59,7 @@ Manager_init()
Manager_allWndIds := "" Manager_allWndIds := ""
Manager_managedWndIds := "" Manager_managedWndIds := ""
Manager_initial_sync(doRestore) Manager_initial_sync(doRestore)
Bar_updateStatus() Bar_updateStatus()
Bar_updateTitle() Bar_updateTitle()
Loop, % Manager_monitorCount Loop, % Manager_monitorCount
@ -88,17 +88,17 @@ Manager_saveState()
Global Global
Critical Critical
;Debug_logMessage("Manager_saveState", 0) ;Debug_logMessage("Manager_saveState", 0)
; @todo: Check for changes to the layout. ; @todo: Check for changes to the layout.
;If Manager_layoutDirty ;If Manager_layoutDirty
;{ ;{
;Debug_logMessage("Saving layout state: " . Main_autoLayout, 0) ;Debug_logMessage("Saving layout state: " . Main_autoLayout, 0)
Config_saveSession(Config_filaPath, Main_autoLayout) Config_saveSession(Config_filePath, Main_autoLayout)
Manager_layoutDirty := 0 Manager_layoutDirty := 0
;} ;}
; @todo: Check for changes to windows. ; @todo: Check for changes to windows.
;If Manager_windowsDirty ;If Manager_windowsDirty
;{ ;{
;Debug_logMessage("Saving window state: " . Main_autoWindowState, 0) ;Debug_logMessage("Saving window state: " . Main_autoWindowState, 0)
Manager_saveWindowState(Main_autoWindowState, Manager_monitorCount, Config_viewCount) Manager_saveWindowState(Main_autoWindowState, Manager_monitorCount, Config_viewCount)
@ -106,7 +106,7 @@ Manager_saveState()
;} ;}
} }
Manager_maintenance() Manager_maintenance()
{ {
Local tmp Local tmp
Critical Critical
@ -1085,7 +1085,7 @@ Manager__restoreWindowState(filename)
; No windows are known to the system yet. ; No windows are known to the system yet.
; Try to do something smart with the initial layout. ; Try to do something smart with the initial layout.
Manager_initial_sync(doRestore) Manager_initial_sync(doRestore)
{ {
Local wndId0, wnd, wndX, wndY, wndW, wndH, x, y, m, len Local wndId0, wnd, wndX, wndY, wndW, wndH, x, y, m, len
@ -1102,7 +1102,7 @@ Manager_initial_sync(doRestore)
{ {
Manager__restoreWindowState(Main_autoWindowState) Manager__restoreWindowState(Main_autoWindowState)
} }
;; Check all remaining visible windows against the known windows ;; Check all remaining visible windows against the known windows
WinGet, wndId, List, , , WinGet, wndId, List, , ,
Loop, % wndId Loop, % wndId