ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtperl.xs
(Generate patch)

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.147 by sf-exg, Tue Dec 6 11:29:52 2011 UTC vs.
Revision 1.150 by sf-exg, Mon Jan 9 15:34:57 2012 UTC

920 CODE: 920 CODE:
921{ 921{
922 rxvt_term *term = new rxvt_term; 922 rxvt_term *term = new rxvt_term;
923 923
924 stringvec *argv = new stringvec; 924 stringvec *argv = new stringvec;
925 stringvec *envv = new stringvec;
926
927 for (int i = 0; i <= AvFILL (arg); i++) 925 for (int i = 0; i <= AvFILL (arg); i++)
928 argv->push_back (strdup (SvPVbyte_nolen (*av_fetch (arg, i, 1)))); 926 argv->push_back (strdup (SvPVbyte_nolen (*av_fetch (arg, i, 1))));
929 927
928 stringvec *envv = new stringvec;
930 for (int i = AvFILL (env) + 1; i--; ) 929 for (int i = AvFILL (env) + 1; i--; )
931 envv->push_back (strdup (SvPVbyte_nolen (*av_fetch (env, i, 1)))); 930 envv->push_back (strdup (SvPVbyte_nolen (*av_fetch (env, i, 1))));
932 931
933 try 932 try
934 { 933 {
1097 rxvt_pop_locale (); 1096 rxvt_pop_locale ();
1098 1097
1099 RETVAL = wcs2sv (wstr); 1098 RETVAL = wcs2sv (wstr);
1100 free (wstr); 1099 free (wstr);
1101} 1100}
1102 OUTPUT:
1103 RETVAL
1104
1105char *
1106rxvt_term::locale ()
1107 CODE:
1108 RETVAL = THIS->locale;
1109 OUTPUT: 1101 OUTPUT:
1110 RETVAL 1102 RETVAL
1111 1103
1112#define TERM_OFFSET(sym) offsetof (TermWin_t, sym) 1104#define TERM_OFFSET(sym) offsetof (TermWin_t, sym)
1113 1105
1551 1543
1552 if (set >= 0) 1544 if (set >= 0)
1553 { 1545 {
1554 THIS->set_option (optval, set); 1546 THIS->set_option (optval, set);
1555 1547
1556 if (THIS->env_colorfgbg [0]) // avoid doing this before START 1548 if (THIS->init_done) // avoid doing this before START
1557 switch (optval) 1549 switch (optval)
1558 { 1550 {
1559 case Opt_skipBuiltinGlyphs: 1551 case Opt_skipBuiltinGlyphs:
1560 THIS->set_fonts (); 1552 THIS->set_fonts ();
1561 THIS->scr_remap_chars (); 1553 THIS->scr_remap_chars ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines