Advertisement
igktr

patch-renpy_display_core.py/files/renpy6

May 3rd, 2021
1,106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.49 KB | None | 0 0
  1. --- renpy/display/core.py.orig  2014-10-17 08:18:33.000000000 +0900
  2. +++ renpy/display/core.py   2021-04-15 09:46:11.988857000 +0900
  3. @@ -1494,7 +1494,10 @@
  4.              return
  5.  
  6.          self.window_caption = caption
  7. -        pygame.display.set_caption(caption.encode("utf-8"))
  8. +        if isinstance(caption, unicode):
  9. +            pygame.display.set_caption(caption)
  10. +        else:
  11. +            pygame.display.set_caption(caption.encode("utf-8"))
  12.  
  13.      def iconify(self):
  14.          pygame.display.iconify()
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement