[banshee] [ArtworkManager] Fix a typo in the commit for bgo#613359
- From: Alexander Kojevnikov <alexk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [ArtworkManager] Fix a typo in the commit for bgo#613359
- Date: Sat, 17 Apr 2010 01:27:11 +0000 (UTC)
commit f598452994aed1bda2c0e96d9e1dddcf41902f6c
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date: Sat Apr 17 11:26:23 2010 +1000
[ArtworkManager] Fix a typo in the commit for bgo#613359
.../Banshee.Collection.Gui/ArtworkManager.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs b/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs
index c6abfa8..094dc8f 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs
@@ -190,7 +190,7 @@ namespace Banshee.Collection.Gui
if (ratio > max_ratio) {
width = (int)Math.Round (size / ratio);
}else if (ratio < 1d / max_ratio) {
- height = (int)Math.Round (size / ratio);
+ height = (int)Math.Round (size * ratio);
}
Pixbuf scaled_pixbuf = pixbuf.ScaleSimple (width, height, Gdk.InterpType.Bilinear);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]