aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorkdx <kdx@42l.fr>2023-02-21 06:33:35 +0100
committerkdx <kdx@42l.fr>2023-02-21 06:33:35 +0100
commit9453525cf52cae6feae383e823b4577c67634cba (patch)
tree23e0600918102afb8c5cd41be0b911e01a82ecfe /main.c
parent7f0dd984d7032c75d100419286621cc6137fee4a (diff)
downloadtzr-9453525cf52cae6feae383e823b4577c67634cba.tar.gz
ids are predictable
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2da14bb..5cd103d 100644
--- a/main.c
+++ b/main.c
@@ -14,7 +14,7 @@ int main(int argc, char **argv)
const TZR_Uint id0 = TZR_LoadResourceTyped(TZR_RES_IMAGE, "res.bmp");
const TZR_Uint id1 = TZR_LoadResourceTyped(TZR_RES_RAW, "main.c");
const TZR_Uint id2 = TZR_LoadResourceTyped(TZR_RES_IMAGE, "smile.bmp");
- if (id0 == 0 || id1 == 0 || id2 == 0)
+ if (id0 != 1 || id1 != 2 || id2 != 3)
return TZR_Quit(), 1;
/* Print assets paths. */