remove un-needed colon ":" from switch statements in template files.
This commit is contained in:
parent
3b52a6334e
commit
576d42f4ca
@ -19,12 +19,12 @@ while(not leavingLoop)
|
||||
if(DEBUG and msg$(everyCommand)<>"") print msg$(everyCommand)
|
||||
|
||||
switch(msg$(everyCommand))
|
||||
case "_QuitRequested":
|
||||
case "MainWindow:_QuitRequested":
|
||||
case "_QuitRequested"
|
||||
case "MainWindow:_QuitRequested"
|
||||
leavingLoop = true
|
||||
break
|
||||
default:
|
||||
break
|
||||
default
|
||||
|
||||
end switch
|
||||
|
||||
next everyCommand
|
||||
|
@ -19,16 +19,16 @@ while(not leavingLoop)
|
||||
if(DEBUG and msg$(everyCommand)<>"") print msg$(everyCommand)
|
||||
|
||||
switch(msg$(everyCommand))
|
||||
case "_QuitRequested":
|
||||
case "_QuitRequested"
|
||||
case "MainView:_QuitRequested":
|
||||
case translate$("MainView:File:Quit"):
|
||||
case translate$("MainView:File:Quit")
|
||||
leavingLoop = true
|
||||
break
|
||||
case translate$("MainView:Help:Help"):
|
||||
case translate$("MainView:Help:Help")
|
||||
alert "The Help button was pressed", "Cool !", "idea"
|
||||
break
|
||||
default:
|
||||
break
|
||||
default
|
||||
|
||||
end switch
|
||||
|
||||
next everyCommand
|
||||
|
@ -24,17 +24,16 @@ while(not leavingLoop)
|
||||
if(DEBUG and msg$(everyCommand)<>"") print msg$(everyCommand)
|
||||
|
||||
switch(msg$(everyCommand))
|
||||
case "MainView:_QuitRequested":
|
||||
case "_QuitRequested":
|
||||
case translate$("MainView:File:Quit"):
|
||||
case "MainView:_QuitRequested"
|
||||
case "_QuitRequested"
|
||||
case translate$("MainView:File:Quit")
|
||||
leavingLoop = true
|
||||
break
|
||||
case "Help":
|
||||
case translate$("MainView:Help:Help"):
|
||||
case "Help"
|
||||
case translate$("MainView:Help:Help")
|
||||
alert "The Help button was pressed", "Cool !", "idea"
|
||||
break
|
||||
default:
|
||||
break
|
||||
default
|
||||
end switch
|
||||
|
||||
next everyCommand
|
||||
|
Loading…
x
Reference in New Issue
Block a user