diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llwindow/llwindowmacosx.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/llwindow/llwindowmacosx.cpp b/linden/indra/llwindow/llwindowmacosx.cpp index 7313fd3..b2a1ccf 100644 --- a/linden/indra/llwindow/llwindowmacosx.cpp +++ b/linden/indra/llwindow/llwindowmacosx.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2001-2007, Linden Research, Inc. | 5 | * Copyright (c) 2001-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -91,7 +92,7 @@ BOOL check_for_card(const char* RENDERER, const char* bad_card) | |||
91 | if (!strnicmp(RENDERER, bad_card, strlen(bad_card))) | 92 | if (!strnicmp(RENDERER, bad_card, strlen(bad_card))) |
92 | { | 93 | { |
93 | char buffer[1024];/* Flawfinder: ignore */ | 94 | char buffer[1024];/* Flawfinder: ignore */ |
94 | snprintf(buffer, sizeof(buffer), /* Flawfinder: ignore */ | 95 | snprintf(buffer, sizeof(buffer), |
95 | "Your video card appears to be a %s, which Second Life does not support.\n" | 96 | "Your video card appears to be a %s, which Second Life does not support.\n" |
96 | "\n" | 97 | "\n" |
97 | "Second Life requires a video card with 32 Mb of memory or more, as well as\n" | 98 | "Second Life requires a video card with 32 Mb of memory or more, as well as\n" |
@@ -426,7 +427,7 @@ BOOL LLWindowMacOSX::createContext(int x, int y, int width, int height, int bits | |||
426 | mFullscreenRefresh = -1; | 427 | mFullscreenRefresh = -1; |
427 | 428 | ||
428 | char error[256]; /* Flawfinder: ignore */ | 429 | char error[256]; /* Flawfinder: ignore */ |
429 | snprintf(error, sizeof(error), "Unable to run fullscreen at %d x %d.\nRunning in window.", width, height); /* Flawfinder: ignore */ | 430 | snprintf(error, sizeof(error), "Unable to run fullscreen at %d x %d.\nRunning in window.", width, height); |
430 | OSMessageBox(error, "Error", OSMB_OK); | 431 | OSMessageBox(error, "Error", OSMB_OK); |
431 | } | 432 | } |
432 | } | 433 | } |