From 0cbf318004ea7fc462266739a6a2a82da106a73b Mon Sep 17 00:00:00 2001 From: Alex Clark Date: Sun, 22 Jun 2014 20:49:42 -0400 Subject: [PATCH] Update --- Tk/README.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tk/README.rst b/Tk/README.rst index 1fff4d314..bb5eb9c3c 100644 --- a/Tk/README.rst +++ b/Tk/README.rst @@ -10,6 +10,7 @@ However, if you cannot get the this to work on your platform, you can do it in the old way: Adding Tkinter support +---------------------- 1. Compile Python's _tkinter.c with the WITH_APPINIT and WITH_PIL flags set, and link it with tkImaging.c and tkappinit.c. To @@ -74,7 +75,7 @@ drivers take care of the rest. If you have Tk 4.1 or Tk 8.0b1, you don't have to apply this patch! It only applies to Tk 4.2, Tk 8.0a[12] and Tk 8.0b2. -In win/tkWinImage.c, change the following line in XCreateImage:: +In ``win/tkWinImage.c``, change the following line in ``XCreateImage``:: imagePtr->bits_per_pixel = depth;