OSDN Git Service

使用されていない--show-ownerオプションを削除
[coroid/inqubus.git] / vhook / framehook.c
index 9d7dd26..2c1a9b2 100644 (file)
@@ -113,7 +113,6 @@ int init_setting(FILE*log,const toolbox *tbox,SETTING* setting,int argc, char *a
        setting->font_path = NULL;
        setting->font_index = 0;
        setting->user_slot_max = 30;
-       setting->owner_slot_max = 30;
        setting->shadow_kind = 1;//デフォルトはニコニコ動画風
        setting->show_video = FALSE;
        setting->fontsize_fix=FALSE;
@@ -160,10 +159,6 @@ int init_setting(FILE*log,const toolbox *tbox,SETTING* setting,int argc, char *a
                        setting->user_slot_max = MAX(0,atoi(arg+FRAMEHOOK_OPT_SHOW_USER_LEN));
                        fprintf(log,"[framehook/init]User Comments on screen:%d\n",setting->user_slot_max);
                        fflush(log);
-               }else if(strncmp(FRAMEHOOK_OPT_SHOW_OWNER,arg,FRAMEHOOK_OPT_SHOW_OWNER_LEN) == 0){
-                       setting->owner_slot_max = MAX(0,atoi(arg+FRAMEHOOK_OPT_SHOW_OWNER_LEN));
-                       fprintf(log,"[framehook/init]Owner Comments on screen:%d\n",setting->owner_slot_max);
-                       fflush(log);
                }else if(!setting->show_video && strcmp(arg,"--enable-show-video") == 0){
                        fputs("[framehook/init]show video while converting.\n",log);
                        fflush(log);