Skip to content

Commit f363065

Browse files
committed
Fix blunder
1 parent 8502dee commit f363065

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pdlua_gfx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ static uint64_t pdlua_image_hash(unsigned char *str, float scale)
13841384
hash = ((hash << 5) + hash) + c; /* hash * 33 + c */
13851385

13861386
union { float f; uint32_t i; } u;
1387-
u.f = f;
1387+
u.f = scale;
13881388
return hash ^ (u.i * 0x9E3779B9);
13891389
}
13901390

0 commit comments

Comments
 (0)