From 75435cc43d5dd64b1640b39661e68d26aa57a090 Mon Sep 17 00:00:00 2001 From: EvanR Date: Sun, 4 Jan 2009 01:38:12 -0600 Subject: [PATCH] Import text events as song info. All text events will be appended to the song info. This has the approximate effect of providing a description of the song, but sometimes with other data mixed in. --- src/saveload.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/saveload.cpp b/src/saveload.cpp index f55c3ae..49d6616 100644 --- a/src/saveload.cpp +++ b/src/saveload.cpp @@ -1094,6 +1094,10 @@ int loadsmf(const char* filename){ asprintf(&tbuf," %d text: \"%s\"\n",time,abuf); scope_print(tbuf); free(tbuf); + + ui->info_text->buffer()->append(abuf); + ui->info_text->buffer()->append("\n"); + break; case 2://copyright notice file.read((char*)abuf,size); -- 2.11.4.GIT