diff src/graphics.cc @ 8007:a2ab20ba78f7

make file_ops a proper singleton class
author John W. Eaton <jwe@octave.org>
date Mon, 04 Aug 2008 23:44:50 -0400
parents 6add0f974aee
children 0ef13e15319b
line wrap: on
line diff
--- a/src/graphics.cc	Mon Aug 04 22:32:47 2008 -0400
+++ b/src/graphics.cc	Mon Aug 04 23:44:50 2008 -0400
@@ -4574,7 +4574,7 @@
 
 	      if (! error_state)
 		{
-		  size_t pos = file.find_last_of (file_ops::dir_sep_chars);
+		  size_t pos = file.find_last_of (file_ops::dir_sep_chars ());
 
 		  if (pos != NPOS)
 		    {