screen_savers/Nebula: Fix GCC4 warning.
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user