diff --git a/src/windy/platforms/macos/platform.nim b/src/windy/platforms/macos/platform.nim index 5d8acec..f9aa533 100644 --- a/src/windy/platforms/macos/platform.nim +++ b/src/windy/platforms/macos/platform.nim @@ -965,7 +965,7 @@ proc getClipboardImage*(): Image = copyMem(copiedData[0].addr, pngData.bytes, pngData.length) try: - result = decodePng(copiedData).newImage + result = newImage(decodePng(copiedData)) except: return diff --git a/windy.nimble b/windy.nimble index 158aa28..69328fe 100644 --- a/windy.nimble +++ b/windy.nimble @@ -9,5 +9,5 @@ requires "nim >= 1.4.8" requires "opengl >= 1.2.6" requires "pixie >= 4.3.0" requires "urlly >= 1.0.0" -requires "zippy >= 0.9.9" +requires "zippy >= 0.9.11" requires "ws >= 0.5.0"