OSDN Git Service

ログ出力情報修正
[coroid/inqubus.git] / vhook / process.c
index d377832..ac131b9 100644 (file)
@@ -10,7 +10,8 @@ int process(DATA* data, SDL_Surface* surf, const int now_vpos) {
         COMMDATA* comment = &data->comment[i];
         if (comment->enable) {
             if (!chat_process(comment, surf, now_vpos)) {
-                fputs("[process/process]failed to process comment.\n", data->log);
+                fprintf(data->log, "[process/process]failed to process comment[%d].\n",
+                        i);
                 return FALSE;
             }
         }