Skip to content

Commit

Permalink
fix(zc): visual text bug in sound panel
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyV99 committed Apr 29, 2024
1 parent 009d591 commit 5f16c4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zc/zc_sys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5447,7 +5447,7 @@ int32_t d_jstick_proc(int32_t msg,DIALOG *d,int32_t c)
extern const char *key_str[];
std::string get_keystr(int key);

const char *pan_str[4] = { "MONO", " 1/2", " 3/4", "FULL" };
const char *pan_str[4] = { " MONO", " 1/2", " 3/4", " FULL" };

static char str_a[80],str_b[80],str_s[80],str_m[80],str_l[80],str_r[80],str_p[80],str_ex1[80],str_ex2[80],str_ex3[80],str_ex4[80],
str_leftmod1[80],str_leftmod2[80],str_rightmod1[80],str_rightmod2[80], str_left[80], str_right[80], str_up[80], str_down[80],
Expand Down Expand Up @@ -5554,7 +5554,7 @@ int32_t set_vol(void *dp3, int32_t d2)
}

// text_mode(vc(11));
textprintf_right_ex(screen,get_zc_font(font_lfont_l), ((int32_t*)dp3)[1],((int32_t*)dp3)[2],jwin_pal[jcBOXFG],jwin_pal[jcBOX],"%3d",zc_min(d2<<3,255));
textprintf_right_ex(screen,get_zc_font(font_lfont_l), ((int32_t*)dp3)[1],((int32_t*)dp3)[2],jwin_pal[jcBOXFG],jwin_pal[jcBOX]," %3d",zc_min(d2<<3,255));
return D_O_K;
}

Expand Down

0 comments on commit 5f16c4d

Please sign in to comment.