mirror of
https://github.com/irmen/prog8.git
synced 2025-01-26 19:30:59 +00:00
fix compiler warnings
This commit is contained in:
parent
9f8c70b326
commit
4a98dab948
@ -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")
|
||||
|
@ -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!")
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user