summaryrefslogtreecommitdiffstats
path: root/src/window
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2020-11-02 15:06:01 +0100
committerLibravatar GitHub <noreply@github.com>2020-11-02 15:06:01 +0100
commit28280600d7fd19dbed814a56703201b2c1e87b77 (patch)
treee6e19de5893c47fa1a688af9e1d006cd26c196f4 /src/window
parentf46431600cb61d4e83e0ded1ca79525478436be3 (diff)
parent2b1d438ad48bf8113dbe064633e7e3d0ec9ac7f0 (diff)
downloadiced-28280600d7fd19dbed814a56703201b2c1e87b77.tar.gz
iced-28280600d7fd19dbed814a56703201b2c1e87b77.tar.bz2
iced-28280600d7fd19dbed814a56703201b2c1e87b77.zip
Merge pull request #592 from sum-elier/fix-window-icon-dimensionsmismatch-error
Fixes #591 DimensionsMismatch error message
Diffstat (limited to 'src/window')
-rw-r--r--src/window/icon.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window/icon.rs b/src/window/icon.rs
index 15e0312d..0d27b00e 100644
--- a/src/window/icon.rs
+++ b/src/window/icon.rs
@@ -112,7 +112,7 @@ impl fmt::Display for Error {
write!(f,
"The number of RGBA pixels ({:?}) does not match the provided \
dimensions ({:?}x{:?}).",
- width, height, pixel_count,
+ pixel_count, width, height,
)
}
Error::OsError(e) => write!(