diff liboctave/cmd-edit.cc @ 11586:12df7854fa7c

strip trailing whitespace from source files
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:24:59 -0500
parents fd0a3ac60b0e
children e0e50f48df37
line wrap: on
line diff
--- a/liboctave/cmd-edit.cc
+++ b/liboctave/cmd-edit.cc
@@ -427,7 +427,7 @@
   user_accept_line_function = f;
 
   if (f)
-    octave_rl_add_defun ("accept-line", gnu_readline::command_accept_line, 
+    octave_rl_add_defun ("accept-line", gnu_readline::command_accept_line,
                          ::octave_rl_ctrl ('M'));
   else
     octave_rl_add_defun ("accept-line", ::octave_rl_newline,
@@ -848,7 +848,7 @@
 #endif
 }
 
-void 
+void
 command_editor::force_default_editor (void)
 {
   delete instance;
@@ -1253,8 +1253,8 @@
 }
 
 // Return a string which will be printed as a prompt.  The string may
-// contain special characters which are decoded as follows: 
-//   
+// contain special characters which are decoded as follows:
+//
 //      \a      bell (ascii 07)
 //      \d      the date
 //      \e      escape (ascii 033)
@@ -1427,7 +1427,7 @@
 
                 if (pos != std::string::npos)
                   temp.resize (pos);
-                
+
                 goto add_string;
               }