diff options
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; |