diff options
Diffstat (limited to 'src/interface/SaveButton.cpp')
| -rw-r--r-- | src/interface/SaveButton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/SaveButton.cpp b/src/interface/SaveButton.cpp index e3f7422..b312d3a 100644 --- a/src/interface/SaveButton.cpp +++ b/src/interface/SaveButton.cpp @@ -66,7 +66,7 @@ SaveButton::SaveButton(Point position, Point size, SaveFile * file): { if(file) { - name = file->GetName(); + name = file->GetDisplayName(); if(Graphics::textwidth((char *)name.c_str()) > Size.X) { int position = Graphics::textwidthx((char *)name.c_str(), Size.X - 22); |
