Skip to content

Commit

Permalink
Add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
homm committed Sep 2, 2024
1 parent 55845f2 commit 9bd6434
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Tk/tkImaging.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ ImagingFind(const char *name) {
size_t name_len = strlen(name);
const char *expected = "<capsule object \"" IMAGING_MAGIC "\" at 0x";

printf(">>> ImagingFind '%s'", name);

if (strncmp(name, expected, strlen(expected)) ||
strncmp(name + name_len - 1, ">", 1)) {
return NULL;
Expand Down

0 comments on commit 9bd6434

Please sign in to comment.