fix compiler warnings

This commit is contained in:
Irmen de Jong 2021-12-30 00:58:33 +01:00
parent 9f8c70b326
commit 4a98dab948
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
main {
sub start() {
cx16.screen_set_mode(0)
void cx16.screen_set_mode(0)
txt.print("\n\n how many sprites does\n the commander x16 have?\n")
sys.wait(120)
txt.print("\n\n the manual says: '128'.\n")

View File

@ -8,7 +8,7 @@
main {
sub start() {
cx16.screen_set_mode(0)
void cx16.screen_set_mode(0)
txt.plot(14,14)
txt.print("raster bars!")

View File

@ -870,7 +870,7 @@ planet {
ubyte ni
for ni in 1 to len(name) {
ubyte cc = name[ni]
if cc=='e' or cc=='o' or cc==0
if cc in ['e', 'o', 0]
break
else {
@(result_ptr) = cc