diff options
author | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-01-07 16:35:49 +0530 |
---|---|---|
committer | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-01-07 16:35:49 +0530 |
commit | a6b3f6b5d44746307330495f608ad7308f8e6d38 (patch) | |
tree | 5962dba478cb575f79c452151456c0ebad34ba1c /screen.cpp | |
parent | 76f870a30a5b7f2f6c2ad91fa96af995e0f78899 (diff) |
Modified screen.cpp to compile on Linux.
Diffstat (limited to 'screen.cpp')
-rw-r--r-- | screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -207,7 +207,7 @@ static int calc_prompt_width( const wchar_t *prompt ) wchar_t *term_name = env_get( L"TERM" ); if( term_name && wcsstr( term_name, L"screen" ) == term_name ) { - wchar_t *end; + const wchar_t *end; j+=2; found = 1; end = wcsstr( &prompt[j], L"\x1b\\" ); |