summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muggle-plugin/mg_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/muggle-plugin/mg_db.c b/muggle-plugin/mg_db.c
index 2a3878c..99fc27b 100644
--- a/muggle-plugin/mg_db.c
+++ b/muggle-plugin/mg_db.c
@@ -658,7 +658,7 @@ GdFindFile( const char* tld, string mp3file )
{
char *s;
if( (s = mg_readline(p) ) != 0)
- result = tld + s;
+ result = string(tld) + string(s);
pclose(p);
}