summaryrefslogtreecommitdiff
path: root/wx+/image_holder.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <shieldwed@outlook.com>2018-07-29 21:45:13 -0700
committerDaniel Wilhelm <shieldwed@outlook.com>2018-07-29 21:45:13 -0700
commit06c99e6c91d87a91f3e54191670d23e3f4d132b9 (patch)
treea2c82149d6fe802c68365f73e11f3c241c95ef3d /wx+/image_holder.h
parent10.1 (diff)
downloadFreeFileSync-06c99e6c91d87a91f3e54191670d23e3f4d132b9.tar.gz
FreeFileSync-06c99e6c91d87a91f3e54191670d23e3f4d132b9.tar.bz2
FreeFileSync-06c99e6c91d87a91f3e54191670d23e3f4d132b9.zip
10.2
Diffstat (limited to 'wx+/image_holder.h')
-rwxr-xr-xwx+/image_holder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/image_holder.h b/wx+/image_holder.h
index f4bf3c8a..aada581f 100755
--- a/wx+/image_holder.h
+++ b/wx+/image_holder.h
@@ -20,7 +20,7 @@ struct ImageHolder //prepare conversion to wxImage as much as possible while sta
ImageHolder(int w, int h, bool withAlpha) : //init with memory allocated
width_(w), height_(h),
- rgb_(static_cast<unsigned char*>(::malloc(w * h * 3))),
+ rgb_( static_cast<unsigned char*>(::malloc(w * h * 3))),
alpha_(withAlpha ? static_cast<unsigned char*>(::malloc(w * h)) : nullptr) {}
ImageHolder (ImageHolder&&) noexcept = default; //
bgstack15