# HG changeset patch # User Avinoam # Date 1427054513 -7200 # Node ID 83dc1ab95429c9beef9de6bbfe50ccdacc7834d8 # Parent 5e6e0563388b26d9180bfcff2c517e4876325e02 __w2mpth__.m: fix typos * scripts/miscellaneous/private/__w2mpth__.m: change __w2mpth to __w2mpth__ diff -r 5e6e0563388b -r 83dc1ab95429 scripts/miscellaneous/private/__w2mpth__.m --- a/scripts/miscellaneous/private/__w2mpth__.m Mon Mar 23 09:03:39 2015 +0100 +++ b/scripts/miscellaneous/private/__w2mpth__.m Sun Mar 22 22:01:53 2015 +0200 @@ -26,14 +26,14 @@ ## ## @example ## @group -## mpth = __w2mpth ('D:\full\path\to\file.dat') +## mpth = __w2mpth__ ('D:\full\path\to\file.dat') ## @result{} '/D/full/path/to/file.dat' ## @end group ## @end example ## ## @example ## @group -## mpth = __w2mpth ('relative\path\to\file.dat') +## mpth = __w2mpth__ ('relative\path\to\file.dat') ## @result{} 'relative/path/to/file.dat' ## @end group ## @end example @@ -47,7 +47,7 @@ ## Check for platform if (! ispc) - error ("__m2wpath__ should only be called on Windows platforms\n"); + error ("__w2mpth__ should only be called on Windows platforms\n"); endif ## Replace backslash file separators by forward slashes