[smuxi] Frontend-GNOME: fixed null check to really prevent ArgumentNullException



commit c4e90f8bf86b8b264d5865dff5339c0371243e07
Author: Mirco Bauer <meebey meebey net>
Date:   Wed Apr 29 06:52:43 2015 +0200

    Frontend-GNOME: fixed null check to really prevent ArgumentNullException
    
    This fixes the fixed introduced in commit
    864aa3e54a364451452e2194742b09761ffa6962

 src/Frontend-GNOME/Views/Chats/ChatView.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Frontend-GNOME/Views/Chats/ChatView.cs b/src/Frontend-GNOME/Views/Chats/ChatView.cs
index 0c53fb3..5d6ca20 100644
--- a/src/Frontend-GNOME/Views/Chats/ChatView.cs
+++ b/src/Frontend-GNOME/Views/Chats/ChatView.cs
@@ -589,7 +589,7 @@ namespace Smuxi.Frontend.Gnome
         {
             _OutputMessageTextView.UpdateMarkerline();
             
-            if (Frontend.EngineProtocolVersion == null |
+            if (Frontend.EngineProtocolVersion == null ||
                 Frontend.EngineProtocolVersion < new Version(0, 12)) {
                 return;
             }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]