From 24d36d7d5f56a7cdff4b80c7925edf980f92867f Mon Sep 17 00:00:00 2001
From: Cinder <cinder@sdf.org>
Date: Mon, 25 Aug 2014 13:35:40 -0600
Subject: [PATCH] I will pull my hair out

---
 indra/llwindow/llopenglview-objc.mm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/llwindow/llopenglview-objc.mm b/indra/llwindow/llopenglview-objc.mm
index 0bbc821ae9..0d4c3babc1 100644
--- a/indra/llwindow/llopenglview-objc.mm
+++ b/indra/llwindow/llopenglview-objc.mm
@@ -481,7 +481,7 @@ attributedStringInfo getSegments(NSAttributedString *str)
 
 - (void)setMarkedText:(id)aString selectedRange:(NSRange)selectedRange replacementRange:(NSRange)replacementRange
 {
-    if ([aString class] == NSClassFromString(@"NSConcreteMutableAttributedString"))
+	if ([aString isKindOfClass:NSClassFromString(@"NSConcreteMutableAttributedString")])
     {
         if (mMarkedTextAllowed)
         {
-- 
GitLab