Commit 77ea06e920ddae98d84a5038d437247ade9a52c4

Authored by David RENÉ
1 parent 121721e0

change the way to show error when loading the vtm plugin. Now not show the diffe…

…rent type anymore because it was useless.
Showing 1 changed file with 2 additions and 4 deletions   Show diff stats
view/load_vtm.anubis
@@ -25,10 +25,8 @@ public define Maybe(VTM) @@ -25,10 +25,8 @@ public define Maybe(VTM)
25 file_damaged then print("File '"+file_name+"' is damaged.\n\n");failure, 25 file_damaged then print("File '"+file_name+"' is damaged.\n\n");failure,
26 bad_version(expected,found) then print("Secondary module '"+file_name+"' doesn't have the same\n"+ 26 bad_version(expected,found) then print("Secondary module '"+file_name+"' doesn't have the same\n"+
27 " version ("+found+") as primary module ("+expected+").\n\n");failure, 27 " version ("+found+") as primary module ("+expected+").\n\n");failure,
28 - wrong_type(expected,found) then print("Secondary module '"+file_name+"' has type:\n"+  
29 - found+" while primary module expected:\n"+  
30 - expected+"\n\n");failure,  
31 - ok(vtm_plugin) then println("vtm plugin "+vtm_plugin.db_version+" loaded "); success(vtm_plugin) 28 + wrong_type(expected,found) then print("Secondary module '"+file_name+"' has different type:\n");failure,
  29 + ok(vtm_plugin) then println("vtm plugin "+vtm_plugin.db_version+" loaded "); success(vtm_plugin)
32 }. 30 }.
33 31
34 define Maybe(VTM) 32 define Maybe(VTM)