From 596f6b57e2afbbe3728475fb7c101a5ee52115fa Mon Sep 17 00:00:00 2001
From: Aaron Brashears <aaronb@lindenlab.com>
Date: Thu, 3 Jul 2008 22:23:55 +0000
Subject: [PATCH] simple crash fix if someone creates a bad command line.
 fallout from string cleanup. very small. revert if there are problems.

---
 indra/newview/llappviewer.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 30634a3f2c0..8661b07ce23 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -1653,8 +1653,8 @@ bool LLAppViewer::initConfiguration()
 			<< "Error: " << clp.getErrorMessage();
 
 		OSMessageBox(
-			msg.str().c_str(),
-			NULL,
+			msg.str(),
+			LLStringUtil::null,
 			OSMB_OK);
 
 		return false;
-- 
GitLab