screen_savers/Nebula: Fix GCC4 warning.
This commit is contained in:
@@ -397,10 +397,9 @@ class SimpleSlider : public BSlider {
|
||||
fLabel = label;
|
||||
};
|
||||
|
||||
char *UpdateText() const
|
||||
const char* UpdateText() const
|
||||
{
|
||||
sprintf(fText, "%s: %d", fLabel, Value());
|
||||
|
||||
return fText;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user