screen_savers/Nebula: Fix GCC4 warning.

This commit is contained in:
Augustin Cavalier
2015-07-07 20:05:36 -04:00
parent 0fe33fd516
commit d3a89219a7
+1 -2
View File
@@ -397,10 +397,9 @@ class SimpleSlider : public BSlider {
fLabel = label; fLabel = label;
}; };
char *UpdateText() const const char* UpdateText() const
{ {
sprintf(fText, "%s: %d", fLabel, Value()); sprintf(fText, "%s: %d", fLabel, Value());
return fText; return fText;
}; };