From 803a4be92772e24043c7e389f7629a86ee77091a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Thu, 8 Nov 2007 22:48:23 +0000 Subject: [PATCH] FileName.cpp: compile fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21523 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/FileName.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/support/FileName.cpp b/src/support/FileName.cpp index a1ca026c63..3c75f9407a 100644 --- a/src/support/FileName.cpp +++ b/src/support/FileName.cpp @@ -626,7 +626,7 @@ string const DocFileName::mangledFilename(std::string const & dir) const // If dir.size() > max length, all bets are off for YAP. We truncate // the filename nevertheless, keeping a minimum of 10 chars. - string::size_type max_length = std::max(100 - ((int)dir.size() + 1), 10); + string::size_type max_length = max(100 - ((int)dir.size() + 1), 10); // If the mangled file name is too long, hack it to fit. // We know we're guaranteed to have a unique file name because -- 2.39.2