diff options
author | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
commit | 89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch) | |
tree | bcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/llvelocitybar.cpp | |
parent | Second Life viewer sources 1.13.3.2 (diff) | |
download | meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2 meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz |
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/newview/llvelocitybar.cpp')
-rw-r--r-- | linden/indra/newview/llvelocitybar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llvelocitybar.cpp b/linden/indra/newview/llvelocitybar.cpp index d285733..403ff4f 100644 --- a/linden/indra/newview/llvelocitybar.cpp +++ b/linden/indra/newview/llvelocitybar.cpp | |||
@@ -121,8 +121,8 @@ void LLVelocityBar::draw() | |||
121 | 121 | ||
122 | top = BAR_TOP + 15; | 122 | top = BAR_TOP + 15; |
123 | left = 0; | 123 | left = 0; |
124 | char str[80]; | 124 | char str[80]; /* Flawfinder: ignore */ |
125 | sprintf(str, "Velocity %.3fm/s", velocity); | 125 | snprintf(str, sizeof(str), "Velocity %.3fm/s", velocity); /* Flawfinder: ignore */ |
126 | LLFontGL::sMonospace->renderUTF8(str, 0, left, top, color, LLFontGL::LEFT, LLFontGL::TOP); | 126 | LLFontGL::sMonospace->renderUTF8(str, 0, left, top, color, LLFontGL::LEFT, LLFontGL::TOP); |
127 | 127 | ||
128 | top = TICK_BOTTOM; | 128 | top = TICK_BOTTOM; |