igktr

patch-renpy_display_core.py/files/renpy6

May 3rd, 2021
689
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×