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)
|
if(DEBUG and msg$(everyCommand)<>"") print msg$(everyCommand)
|
||||||
|
|
||||||
switch(msg$(everyCommand))
|
switch(msg$(everyCommand))
|
||||||
case "_QuitRequested":
|
case "_QuitRequested"
|
||||||
case "MainWindow:_QuitRequested":
|
case "MainWindow:_QuitRequested"
|
||||||
leavingLoop = true
|
leavingLoop = true
|
||||||
break
|
break
|
||||||
default:
|
default
|
||||||
break
|
|
||||||
end switch
|
end switch
|
||||||
|
|
||||||
next everyCommand
|
next everyCommand
|
||||||
|
@ -19,16 +19,16 @@ while(not leavingLoop)
|
|||||||
if(DEBUG and msg$(everyCommand)<>"") print msg$(everyCommand)
|
if(DEBUG and msg$(everyCommand)<>"") print msg$(everyCommand)
|
||||||
|
|
||||||
switch(msg$(everyCommand))
|
switch(msg$(everyCommand))
|
||||||
case "_QuitRequested":
|
case "_QuitRequested"
|
||||||
case "MainView:_QuitRequested":
|
case "MainView:_QuitRequested":
|
||||||
case translate$("MainView:File:Quit"):
|
case translate$("MainView:File:Quit")
|
||||||
leavingLoop = true
|
leavingLoop = true
|
||||||
break
|
break
|
||||||
case translate$("MainView:Help:Help"):
|
case translate$("MainView:Help:Help")
|
||||||
alert "The Help button was pressed", "Cool !", "idea"
|
alert "The Help button was pressed", "Cool !", "idea"
|
||||||
break
|
break
|
||||||
default:
|
default
|
||||||
break
|
|
||||||
end switch
|
end switch
|
||||||
|
|
||||||
next everyCommand
|
next everyCommand
|
||||||
|
@ -24,17 +24,16 @@ while(not leavingLoop)
|
|||||||
if(DEBUG and msg$(everyCommand)<>"") print msg$(everyCommand)
|
if(DEBUG and msg$(everyCommand)<>"") print msg$(everyCommand)
|
||||||
|
|
||||||
switch(msg$(everyCommand))
|
switch(msg$(everyCommand))
|
||||||
case "MainView:_QuitRequested":
|
case "MainView:_QuitRequested"
|
||||||
case "_QuitRequested":
|
case "_QuitRequested"
|
||||||
case translate$("MainView:File:Quit"):
|
case translate$("MainView:File:Quit")
|
||||||
leavingLoop = true
|
leavingLoop = true
|
||||||
break
|
break
|
||||||
case "Help":
|
case "Help"
|
||||||
case translate$("MainView:Help:Help"):
|
case translate$("MainView:Help:Help")
|
||||||
alert "The Help button was pressed", "Cool !", "idea"
|
alert "The Help button was pressed", "Cool !", "idea"
|
||||||
break
|
break
|
||||||
default:
|
default
|
||||||
break
|
|
||||||
end switch
|
end switch
|
||||||
|
|
||||||
next everyCommand
|
next everyCommand
|
||||||
|
Loading…
x
Reference in New Issue
Block a user