]> git.sesse.net Git - vlc/blobdiff - src/text/strings.c
Typos
[vlc] / src / text / strings.c
index 8b16997aed2e941ede87d407551a831fe83ddf99..8ae50a508985b65be0c2ae0195203b090d47ab75 100644 (file)
@@ -1078,7 +1078,7 @@ char *make_URI (const char *path)
 #ifndef WIN32
         /* \\host\share\path -> smb://host/share/path */
         if (strchr (path + 2, '\\') != NULL)
-        {   /* Convert antislashes to slashes */
+        {   /* Convert backslashes to slashes */
             char *dup = strdup (path);
             if (dup == NULL)
                 return NULL;
@@ -1185,7 +1185,7 @@ char *make_path (const char *url)
 #endif
         /* Leading slash => local path */
         if (*path == DIR_SEP_CHAR)
-#ifndef WIN32
+#if !defined (WIN32) || defined (UNDER_CE)
             return path;
 #else
             return memmove (path, path + 1, strlen (path + 1) + 1);
@@ -1219,13 +1219,14 @@ char *make_path (const char *url)
                 ret = strdup ("/dev/stdout");
                 break;
             case 2:
-                ret = strdup ("/dev/strerr");
+                ret = strdup ("/dev/stderr");
                 break;
             default:
                 if (asprintf (&ret, "/dev/fd/%d", fd) == -1)
                     ret = NULL;
         }
 #else
+        /* XXX: Does this work on WinCE? */
         if (fd < 2)
             ret = strdup ("CON");
         else