Browse Source

* fixed bug in decide_codepages, which was checking the wrong variable for is_vga_code_page

git-svn-id: branches/unicodekvm@48918 -
nickysn 4 years ago
parent
commit
ed0ec94680
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl-console/src/unix/video.pp

+ 1 - 1
packages/rtl-console/src/unix/video.pp

@@ -996,7 +996,7 @@ begin
         convert:=cv_cp437_to_UTF8;
         convert:=cv_cp437_to_UTF8;
       end;
       end;
     else
     else
-      if is_vga_code_page(internal_codepage) then
+      if is_vga_code_page(external_codepage) then
         internal_codepage:=external_codepage
         internal_codepage:=external_codepage
       else
       else
         {We don't know how to convert to the external codepage. Use codepage
         {We don't know how to convert to the external codepage. Use codepage