remove un-needed colon ":" from switch statements in template files.

This commit is contained in:
Jim Saxton 2016-03-18 07:35:56 -07:00
parent 3b52a6334e
commit 576d42f4ca
3 changed files with 15 additions and 16 deletions

View File

@ -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

View File

@ -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

View File

@ -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