Commit ad2d0424 authored by Michael Smith's avatar Michael Smith

Portability fix for vcomment from Peter Harris <peter.harris@hummingbird.com>

svn path=/trunk/vorbis-tools/; revision=1590
parent 31cd1afb
......@@ -12,7 +12,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <getopt.h>
#include "getopt.h"
#include "vcedit.h"
......@@ -193,7 +193,7 @@ int add_comment(char *line, vorbis_comment *vc)
* as the comment spec requires. For the moment, we
* also restrict ourselves to 0-terminated values */
mark = index(line, '=');
mark = strchr(line, '=');
if (mark == NULL) return -1;
value = line;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment