Skip to content

Commit da2eead

Browse files
committed
Fix fileExists warning.
1 parent b914581 commit da2eead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fidget/opengl/context.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ proc getOrLoadImageRect(ctx: Context, imagePath: string | Hash): Rect =
397397
if not fileExists(filePath):
398398
raise newException(Exception, &"Image '{filePath}' not found")
399399
let flippyFilePath = filePath.changeFileExt(".flippy")
400-
if not existsFile(flippyFilePath):
400+
if not fileExists(flippyFilePath):
401401
# No Flippy file generate new one
402402
pngToFlippy(filePath, flippyFilePath)
403403
else:

0 commit comments

Comments
 (0)