comparison src/pager.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 7d6d8c1e471f
children c053740eb2aa
comparison
equal deleted inserted replaced
11585:1473d0cf86d2 11586:12df7854fa7c
405 { 405 {
406 close_diary_file (); 406 close_diary_file ();
407 407
408 // If there is pending output in the pager buf, it should not go 408 // If there is pending output in the pager buf, it should not go
409 // into the diary file. 409 // into the diary file.
410 410
411 octave_stdout.set_diary_skip (); 411 octave_stdout.set_diary_skip ();
412 412
413 external_diary_file.open (diary_file.c_str (), std::ios::app); 413 external_diary_file.open (diary_file.c_str (), std::ios::app);
414 414
415 if (! external_diary_file) 415 if (! external_diary_file)
462 462
463 if (arg == "on") 463 if (arg == "on")
464 { 464 {
465 write_to_diary_file = true; 465 write_to_diary_file = true;
466 open_diary_file (); 466 open_diary_file ();
467 } 467 }
468 else if (arg == "off") 468 else if (arg == "off")
469 { 469 {
470 close_diary_file (); 470 close_diary_file ();
471 write_to_diary_file = false; 471 write_to_diary_file = false;
472 } 472 }