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

View File

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

View File

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