fixed menu timestamp on root menu, Patch from Mathias Gumz
fluxgen fluxgen
1 files changed,
4 insertions(+),
1 deletions(-)
jump to
M
src/Screen.cc
→
src/Screen.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.268 2004/02/27 12:32:54 fluxgen Exp $ +// $Id: Screen.cc,v 1.269 2004/03/18 14:45:56 fluxgen Exp $ #include "Screen.hh"@@ -1827,6 +1827,9 @@ '(', ')');
if (err>0) { m_rootmenu->setLabel(label.c_str()); defaultMenu = parseMenuFile(menu_file, *m_rootmenu.get(), row); + // save filename so we can check timestamp on the root menu + if (!defaultMenu) + fb->saveMenuFilename(menufilestr.c_str()); } else cerr<<"Error in menufile. Line("<<row<<")"<<endl; break;