[longomatch] Check for null value
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Check for null value
- Date: Sun, 18 Dec 2011 21:42:40 +0000 (UTC)
commit 134934cc85262f03d6016210a14f2acb3bc460fa
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sat Dec 10 02:05:44 2011 +0100
Check for null value
LongoMatch.GUI.Multimedia/Gui/CapturerBin.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch.GUI.Multimedia/Gui/CapturerBin.cs b/LongoMatch.GUI.Multimedia/Gui/CapturerBin.cs
index aa16f1c..f5a4f40 100644
--- a/LongoMatch.GUI.Multimedia/Gui/CapturerBin.cs
+++ b/LongoMatch.GUI.Multimedia/Gui/CapturerBin.cs
@@ -301,10 +301,10 @@ namespace LongoMatch.Gui
int width, height, allocWidth, allocHeight, logoX, logoY;
float ratio;
- logo = logopix.Value;
-
- if(logo == null)
+ if(logopix == null)
return;
+
+ logo = logopix.Value;
win = logodrawingarea.GdkWindow;
width = logo.Width;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]