diff options
Diffstat (limited to 'linden/indra/win_crash_logger/llcrashloggerwindows.cpp')
-rw-r--r-- | linden/indra/win_crash_logger/llcrashloggerwindows.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/linden/indra/win_crash_logger/llcrashloggerwindows.cpp b/linden/indra/win_crash_logger/llcrashloggerwindows.cpp index f63d309..c9e01c8 100644 --- a/linden/indra/win_crash_logger/llcrashloggerwindows.cpp +++ b/linden/indra/win_crash_logger/llcrashloggerwindows.cpp | |||
@@ -17,7 +17,8 @@ | |||
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | 20 | * online at |
21 | * http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
21 | * | 22 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 23 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 24 | * that you have read and understood your obligations described above, |
@@ -258,8 +259,8 @@ bool LLCrashLoggerWindows::init(void) | |||
258 | if(!ok) return false; | 259 | if(!ok) return false; |
259 | 260 | ||
260 | /* | 261 | /* |
261 | mbstowcs(gProductName, mProductName.c_str(), sizeof(gProductName)/sizeof(gProductName[0])); | 262 | mbstowcs( gProductName, mProductName.c_str(), LL_ARRAY_SIZE(gProductName) ); |
262 | gProductName[ sizeof(gProductName)/sizeof(gProductName[0]) - 1 ] = 0; | 263 | gProductName[ LL_ARRY_SIZE(gProductName) - 1 ] = 0; |
263 | swprintf(gProductName, L"Second Life"); | 264 | swprintf(gProductName, L"Second Life"); |
264 | */ | 265 | */ |
265 | 266 | ||