changeset 10487:11ec7586a0fe

Typos fixed, based on patch sent by Alex.
author diego
date Sun, 27 Jul 2003 22:41:53 +0000
parents f3540688a9ec
children ec04f41e2480
files playtreeparser.c
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/playtreeparser.c	Sun Jul 27 22:23:07 2003 +0000
+++ b/playtreeparser.c	Sun Jul 27 22:41:53 2003 +0000
@@ -192,7 +192,7 @@
   while((line = play_tree_parser_get_line(p)) != NULL)
     /* NOTHING */;
 
- mp_msg(MSGT_PLAYTREE,MSGL_DBG3,"Parsing asx file : [%s]\n",p->buffer);
+ mp_msg(MSGT_PLAYTREE,MSGL_DBG3,"Parsing asx file: [%s]\n",p->buffer);
  return asx_parser_build_tree(p->buffer,p->deep);
 }
 
@@ -250,13 +250,13 @@
   int n_entries = 0,max_entry=0,num;
   play_tree_t *list = NULL, *entry = NULL, *last_entry = NULL;
 
-  mp_msg(MSGT_PLAYTREE,MSGL_V,"Trying winamp playlist...\n");
+  mp_msg(MSGT_PLAYTREE,MSGL_V,"Trying Winamp playlist...\n");
   if (!(line = play_tree_parser_get_line(p)))
     return NULL;
   strstrip(line);
   if(strcasecmp(line,"[playlist]"))
     return NULL;
-  mp_msg(MSGT_PLAYTREE,MSGL_V,"Detected winamp playlist format\n");
+  mp_msg(MSGT_PLAYTREE,MSGL_V,"Detected Winamp playlist format\n");
   play_tree_parser_stop_keeping(p);
   line = play_tree_parser_get_line(p);
   if(!line)
@@ -266,9 +266,9 @@
     v = pls_entry_get_value(line);
     n_entries = atoi(v);
     if(n_entries < 0)
-      mp_msg(MSGT_PLAYTREE,MSGL_DBG2,"Invalid number of entries : very funny !!!\n");
+      mp_msg(MSGT_PLAYTREE,MSGL_DBG2,"Invalid number of entries: very funny!!!\n");
     else
-      mp_msg(MSGT_PLAYTREE,MSGL_DBG2,"Playlist claim to have %d entries. Let's see.\n",n_entries);
+      mp_msg(MSGT_PLAYTREE,MSGL_DBG2,"Playlist claims to have %d entries. Let's see.\n",n_entries);
     line = play_tree_parser_get_line(p);
   }
 
@@ -525,7 +525,7 @@
   stream = open_stream(file,0,&f);
 
   if(!stream) {
-    mp_msg(MSGT_PLAYTREE,MSGL_ERR,"Error while opening playlist file %s : %s\n",file,strerror(errno));
+    mp_msg(MSGT_PLAYTREE,MSGL_ERR,"Error while opening playlist file %s: %s\n",file,strerror(errno));
     return NULL;
   }
 
@@ -606,14 +606,14 @@
   }
 
   if(tree)
-    mp_msg(MSGT_PLAYTREE,MSGL_V,"Playlist succefully parsed\n");
+    mp_msg(MSGT_PLAYTREE,MSGL_V,"Playlist successfully parsed\n");
   else 
     mp_msg(MSGT_PLAYTREE,((forced==1)?MSGL_ERR:MSGL_V),"Error while parsing playlist\n");
 
   if(tree)
     tree = play_tree_cleanup(tree);
   
-  if(!tree) mp_msg(MSGT_PLAYTREE,((forced==1)?MSGL_WARN:MSGL_V),"Warning empty playlist\n");
+  if(!tree) mp_msg(MSGT_PLAYTREE,((forced==1)?MSGL_WARN:MSGL_V),"Warning: empty playlist\n");
 
   return tree;
 }