aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.cpp
diff options
context:
space:
mode:
authorGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-01-07 16:35:49 +0530
committerGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-01-07 16:35:49 +0530
commita6b3f6b5d44746307330495f608ad7308f8e6d38 (patch)
tree5962dba478cb575f79c452151456c0ebad34ba1c /screen.cpp
parent76f870a30a5b7f2f6c2ad91fa96af995e0f78899 (diff)
Modified screen.cpp to compile on Linux.
Diffstat (limited to 'screen.cpp')
-rw-r--r--screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen.cpp b/screen.cpp
index e8fe8396..8481170f 100644
--- a/screen.cpp
+++ b/screen.cpp
@@ -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\\" );