[smuxi/stable] Frontend-GNOME: fix typo in variable name of method call
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi/stable] Frontend-GNOME: fix typo in variable name of method call
- Date: Thu, 24 Sep 2015 10:33:00 +0000 (UTC)
commit 9194d47a55514fbe7080b8377010fa46fe193589
Author: Mirco Bauer <meebey meebey net>
Date: Thu Sep 24 12:08:14 2015 +0200
Frontend-GNOME: fix typo in variable name of method call
I wonder how the C# compiler allows this, depending on the order the variable
will either have the value of width or height.
src/Frontend-GNOME/MainWindow.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Frontend-GNOME/MainWindow.cs b/src/Frontend-GNOME/MainWindow.cs
index 84b1e93..b76a9af 100644
--- a/src/Frontend-GNOME/MainWindow.cs
+++ b/src/Frontend-GNOME/MainWindow.cs
@@ -228,7 +228,7 @@ namespace Smuxi.Frontend.Gnome
// predict and set useful heigth
int lineWidth, lineHeigth;
using (var layout = Entry.CreatePangoLayout("Qp")) {
- layout.GetPixelSize(out lineHeigth, out lineHeigth);
+ layout.GetPixelSize(out lineWidth, out lineHeigth);
}
var it = Entry.Buffer.StartIter;
int newLines = 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]