OSDN Git Service

ログ出力情報修正
authoryukihane <yukihane.feather@gmail.com>
Wed, 21 Sep 2011 15:39:23 +0000 (00:39 +0900)
committeryukihane <yukihane.feather@gmail.com>
Wed, 21 Sep 2011 17:28:31 +0000 (02:28 +0900)
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;
             }
         }