diff options
author | kdx <kdx@42l.fr> | 2023-02-21 06:33:35 +0100 |
---|---|---|
committer | kdx <kdx@42l.fr> | 2023-02-21 06:33:35 +0100 |
commit | 9453525cf52cae6feae383e823b4577c67634cba (patch) | |
tree | 23e0600918102afb8c5cd41be0b911e01a82ecfe /main.c | |
parent | 7f0dd984d7032c75d100419286621cc6137fee4a (diff) | |
download | tzr-9453525cf52cae6feae383e823b4577c67634cba.tar.gz |
ids are predictable
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |