changeset 20013:83dc1ab95429

__w2mpth__.m: fix typos * scripts/miscellaneous/private/__w2mpth__.m: change __w2mpth to __w2mpth__
author Avinoam
date Sun, 22 Mar 2015 22:01:53 +0200
parents 5e6e0563388b
children f6c901a691d5
files scripts/miscellaneous/private/__w2mpth__.m
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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