diff scripts/strings/untabify.m @ 11469:c776f063fefe

Overhaul m-script files to use common variable name between code and documentation.
author Rik <octave@nomad.inbox5.com>
date Sun, 09 Jan 2011 12:41:21 -0800
parents 01ddaedd6ad5
children fd0a3ac60b0e
line wrap: on
line diff
--- a/scripts/strings/untabify.m
+++ b/scripts/strings/untabify.m
@@ -50,7 +50,7 @@
 ## Author: Ben Abbott <bpabbott@mac.com>
 ## Created: 2010-10-15
 
-function s = untabify (t, tw = 8, db = false)
+function s = untabify (t, tw = 8, dblank = false)
 
  if (nargin > 0 && nargin < 4 && (ischar (t) || iscellstr (t)))
    if (ischar (t))
@@ -58,7 +58,7 @@
    else
      s = cellfun (@(str) replace_tabs (str, tw), t, "uniformoutput", false);
    endif
-   if (db)
+   if (dblank)
      s = deblank (s);
    endif
  else