From 1bcb382a16ec866b0ace29c2c4b3297386cfc2d2 Mon Sep 17 00:00:00 2001 From: Cinders Date: Fri, 17 May 2013 09:11:04 -0600 Subject: [PATCH] Potential fix FIRE-10320 on Win32 --- indra/newview/llexternaleditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llexternaleditor.cpp b/indra/newview/llexternaleditor.cpp index 6063305c03..6a16caf3bb 100644 --- a/indra/newview/llexternaleditor.cpp +++ b/indra/newview/llexternaleditor.cpp @@ -49,7 +49,7 @@ LLExternalEditor::EErrorCode LLExternalEditor::setCommand(const std::string& env //return EC_NOT_SPECIFIED; llwarns << "Falling back on generic open handler" << llendl; #ifdef WIN32 - cmd = "C:\Windows\System32\cmd.exe /C START \"%s\"" + cmd = findCommand("", "%comspec% /C START \"%s\"") #endif #ifdef DARWIN cmd = findCommand("", "/usr/bin/open \"%s\"")