Browse Source

zz9k: fix hex string args

pull/1/head
mntmn 7 months ago
parent
commit
3c4a122756
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      zz9k-loader/zz9k.c

+ 1
- 1
zz9k-loader/zz9k.c View File

@@ -159,7 +159,7 @@ void cleanup() {
}

int is_hex(char* str) {
if (strlen(str)>2 && str[0]=='0' && str[0]=='x') {
if (strlen(str)>2 && str[0]=='0' && str[1]=='x') {
return 1;
}
return 0;

Loading…
Cancel
Save