diff --git a/src/common/RewindManager.cxx b/src/common/RewindManager.cxx index cb52212a2..021fc0350 100644 --- a/src/common/RewindManager.cxx +++ b/src/common/RewindManager.cxx @@ -223,6 +223,9 @@ uInt32 RewindManager::windStates(uInt32 numStates, bool unwind) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - string RewindManager::saveAllStates() { + if (getLastIdx() == 0) + return "Nothing to save"; + try { ostringstream buf;