This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch]: Ncurses frame drawing


At 10:26 PM 10/14/2003 +0200, Micha Nelissen wrote:
>@@ -1110,6 +1117,12 @@
> 	       break;
> 	     case 9:    /* dim */
> 	       dev_state->intensity = INTENSITY_DIM;
>+	       break;
>+             case 10:   /* end alternate charset */
>+               alternate_charset_active = FALSE;
>+	       break;
>+             case 11:   /* start alternate charset */
>+               alternate_charset_active = TRUE;
> 	       break;
> 	     case 24:
> 	       dev_state->underline = FALSE;

FWIW, wouldn't it be cleaner to make "alternate_charset_active" a 
member of dev_state instead of introducing a new global variable?

Pierre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]