[vlc-commits] Fix spelling: an URL -> a URL

Pierre Ynard git at videolan.org
Sun Apr 3 21:54:48 CEST 2011


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sun Apr  3 21:53:49 2011 +0200| [28c4cb7455ae07eb652919d75bf92d1da6f3bf6a] | committer: Pierre Ynard

Fix spelling: an URL -> a URL

U counts as a consonant when pronounced that way

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=28c4cb7455ae07eb652919d75bf92d1da6f3bf6a
---

 include/vlc_httpd.h                 |    2 +-
 include/vlc_stream.h                |    2 +-
 modules/control/http/util.c         |    2 +-
 modules/demux/playlist/m3u.c        |    2 +-
 modules/gui/qt4/dialogs/openurl.cpp |    2 +-
 modules/stream_out/rtp.c            |    4 ++--
 modules/stream_out/standard.c       |    2 +-
 src/misc/update.c                   |    2 +-
 src/network/httpd.c                 |    2 +-
 src/playlist/fetcher.c              |    2 +-
 src/text/strings.c                  |   12 ++++++------
 11 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/include/vlc_httpd.h b/include/vlc_httpd.h
index 5103da5..6e28735 100644
--- a/include/vlc_httpd.h
+++ b/include/vlc_httpd.h
@@ -110,7 +110,7 @@ VLC_EXPORT( httpd_url_t *,  httpd_UrlNew, ( httpd_host_t *, const char *psz_url,
 VLC_EXPORT( httpd_url_t *,  httpd_UrlNewUnique, ( httpd_host_t *, const char *psz_url, const char *psz_user, const char *psz_password, const vlc_acl_t *p_acl ) LIBVLC_USED );
 /* register callback on a url */
 VLC_EXPORT( int,            httpd_UrlCatch, ( httpd_url_t *, int i_msg, httpd_callback_t, httpd_callback_sys_t * ) );
-/* delete an url */
+/* delete a url */
 VLC_EXPORT( void,           httpd_UrlDelete, ( httpd_url_t * ) );
 
 /* Default client mode is FILE, use these to change it */
diff --git a/include/vlc_stream.h b/include/vlc_stream.h
index 6ec7d70..a45022e 100644
--- a/include/vlc_stream.h
+++ b/include/vlc_stream.h
@@ -181,7 +181,7 @@ VLC_EXPORT( stream_t *, stream_MemoryNew, (vlc_object_t *p_obj, uint8_t *p_buffe
 #define stream_MemoryNew( a, b, c, d ) stream_MemoryNew( VLC_OBJECT(a), b, c, d )
 
 /**
- * Create a stream_t reading from an URL.
+ * Create a stream_t reading from a URL.
  * You must delete it using stream_Delete.
  */
 VLC_EXPORT( stream_t *, stream_UrlNew, (vlc_object_t *p_this, const char *psz_url ) );
diff --git a/modules/control/http/util.c b/modules/control/http/util.c
index 565c100..80b92de 100644
--- a/modules/control/http/util.c
+++ b/modules/control/http/util.c
@@ -39,7 +39,7 @@
  * File and directory functions
  ****************************************************************************/
 
-/* ToUrl: create a good name for an url from filename */
+/* ToUrl: create a good name for a url from filename */
 static char *FileToUrl( const char *name, bool *pb_index )
 {
     *pb_index = false;
diff --git a/modules/demux/playlist/m3u.c b/modules/demux/playlist/m3u.c
index d0e8642..704e055 100644
--- a/modules/demux/playlist/m3u.c
+++ b/modules/demux/playlist/m3u.c
@@ -97,7 +97,7 @@ static bool ContainsURL( demux_t *p_demux )
 
     while( p_peek + sizeof( "https://" ) < p_peek_end )
     {
-        /* One line starting with an URL is enough */
+        /* One line starting with a URL is enough */
         if( !strncasecmp( (const char *)p_peek, "http://", 7 ) ||
             !strncasecmp( (const char *)p_peek, "mms://", 6 ) ||
             !strncasecmp( (const char *)p_peek, "rtsp://", 7 ) ||
diff --git a/modules/gui/qt4/dialogs/openurl.cpp b/modules/gui/qt4/dialogs/openurl.cpp
index 3060026..56ab915 100644
--- a/modules/gui/qt4/dialogs/openurl.cpp
+++ b/modules/gui/qt4/dialogs/openurl.cpp
@@ -103,7 +103,7 @@ bool OpenUrlDialog::shouldEnqueue() const
 }
 
 /** Show Event:
- * When the dialog is shown, try to extract an URL from the clipboard
+ * When the dialog is shown, try to extract a URL from the clipboard
  * and paste it in the Edit box.
  * showEvent can happen not only on exec() but I think it's cool to
  * actualize the URL on showEvent (eg. change virtual desktop...)
diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index f6111e8..d33a0bd 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -77,7 +77,7 @@
 #define SDP_TEXT N_("SDP")
 #define SDP_LONGTEXT N_( \
     "This allows you to specify how the SDP (Session Descriptor) for this RTP "\
-    "session will be made available. You must use an url: http://location to " \
+    "session will be made available. You must use a url: http://location to " \
     "access the SDP via HTTP, rtsp://location for RTSP access, and sap:// " \
     "for the SDP to be announced via SAP." )
 #define SAP_TEXT N_("SAP announcing")
@@ -97,7 +97,7 @@
     "that will be announced in the SDP (Session Descriptor)." )
 #define URL_TEXT N_("Session URL")
 #define URL_LONGTEXT N_( \
-    "This allows you to give an URL with more details about the stream " \
+    "This allows you to give a URL with more details about the stream " \
     "(often the website of the streaming organization), that will " \
     "be announced in the SDP (Session Descriptor)." )
 #define EMAIL_TEXT N_("Session email")
diff --git a/modules/stream_out/standard.c b/modules/stream_out/standard.c
index 0786639..4558002 100644
--- a/modules/stream_out/standard.c
+++ b/modules/stream_out/standard.c
@@ -75,7 +75,7 @@
     "that will be announced in the SDP (Session Descriptor)." )
 #define URL_TEXT N_("Session URL")
 #define URL_LONGTEXT N_( \
-    "This allows you to give an URL with more details about the stream " \
+    "This allows you to give a URL with more details about the stream " \
     "(often the website of the streaming organization), that will " \
     "be announced in the SDP (Session Descriptor)." )
 #define EMAIL_TEXT N_("Session email")
diff --git a/src/misc/update.c b/src/misc/update.c
index 3deaab8..0c939a0 100644
--- a/src/misc/update.c
+++ b/src/misc/update.c
@@ -70,7 +70,7 @@
  *      * Z is the revision number
  *      * e is an OPTIONAL extra letter
  *      * AKA "0.8.6d" or "0.9.0"
- * Second line is an url of the binary for this last version
+ * Second line is a url of the binary for this last version
  * Remaining text is a required description of the update
  */
 
diff --git a/src/network/httpd.c b/src/network/httpd.c
index 10216a8..e0f7f1c 100644
--- a/src/network/httpd.c
+++ b/src/network/httpd.c
@@ -1283,7 +1283,7 @@ int httpd_UrlCatch( httpd_url_t *url, int i_msg, httpd_callback_t cb,
     return VLC_SUCCESS;
 }
 
-/* delete an url */
+/* delete a url */
 void httpd_UrlDelete( httpd_url_t *url )
 {
     httpd_host_t *host = url->host;
diff --git a/src/playlist/fetcher.c b/src/playlist/fetcher.c
index 2113d42..1a643b0 100644
--- a/src/playlist/fetcher.c
+++ b/src/playlist/fetcher.c
@@ -182,7 +182,7 @@ static int FindArt( playlist_fetcher_t *p_fetcher, input_item_t *p_item )
     char *psz_arturl = input_item_GetArtURL( p_item );
     if( psz_arturl )
     {
-        /* We already have an URL */
+        /* We already have a URL */
         if( !strncmp( psz_arturl, "file://", strlen( "file://" ) ) )
         {
             free( psz_arturl );
diff --git a/src/text/strings.c b/src/text/strings.c
index edd00fe..7a8fc87 100644
--- a/src/text/strings.c
+++ b/src/text/strings.c
@@ -147,10 +147,10 @@ static char *encode_URI_bytes (const char *psz_uri, size_t len)
 }
 
 /**
- * Encodes an URI component (RFC3986 §2).
+ * Encodes a URI component (RFC3986 §2).
  *
  * @param psz_uri nul-terminated UTF-8 representation of the component.
- * Obviously, you can't pass an URI containing a nul character, but you don't
+ * Obviously, you can't pass a URI containing a nul character, but you don't
  * want to do that, do you?
  *
  * @return encoded string (must be free()'d), or NULL for ENOMEM.
@@ -1031,8 +1031,8 @@ void path_sanitize( char *str )
 #endif
 
 /**
- * Convert a file path to an URI.
- * If already an URI, return a copy of the string.
+ * Convert a file path to a URI.
+ * If already a URI, return a copy of the string.
  * @param path path to convert (or URI to copy)
  * @param scheme URI scheme to use (default is auto: "file", "fd" or "smb")
  * @return a nul-terminated URI string (use free() to release it),
@@ -1045,7 +1045,7 @@ char *make_URI (const char *path, const char *scheme)
     if (scheme == NULL && !strcmp (path, "-"))
         return strdup ("fd://0"); // standard input
     if (strstr (path, "://") != NULL)
-        return strdup (path); /* Already an URI */
+        return strdup (path); /* Already a URI */
     /* Note: VLC cannot handle URI schemes without double slash after the
      * scheme name (such as mailto: or news:). */
 
@@ -1145,7 +1145,7 @@ char *make_URI (const char *path, const char *scheme)
 }
 
 /**
- * Tries to convert an URI to a local (UTF-8-encoded) file path.
+ * Tries to convert a URI to a local (UTF-8-encoded) file path.
  * @param url URI to convert
  * @return NULL on error, a nul-terminated string otherwise
  * (use free() to release it)



More information about the vlc-commits mailing list