diff --git a/Chapters/ch01-an-example-application.xml b/Chapters/ch01-an-example-application.xml
index 99c687d..8592907 100644
--- a/Chapters/ch01-an-example-application.xml
+++ b/Chapters/ch01-an-example-application.xml
@@ -189,7 +189,7 @@ ENDPROC
-
The main window is a window with scroll bars, and some colourful icons in it so that any scroll offsets can be clearly seen. The program information window follows the standard RISC OS conventions. Both window’s templates will fit comfortably into the 1024 bytes that we allocated to the load buffer in PROCinitialise. With the file saved as Templates inside !PaneDemo, our application folder should now look as seen in .
+The main window is a window with scroll bars, and some colourful icons in it so that any scroll offsets can be clearly seen. The program information window follows the standard RISC OS conventions. Both windows’ templates will fit comfortably into the 1024 bytes that we allocated to the load buffer in PROCinitialise. With the file saved as Templates inside !PaneDemo, our application folder should now look as seen in .
@@ -211,7 +211,7 @@ SYS "Wimp_CreateWindow",,b% TO InfoWindow%
SYS "Wimp_CloseTemplate"
-The code opens the Templates file with Wimp_OpenTemplate, then loads the templates for the main window and program information window in turn. For each, a window is created immediately using Wimp_CreateWindow, with the handles being stored in the MainWindow% and InfoWindow% variables respectively. We also take the opportunity to calculate the width and height in OS Units, and store the values in the WindowWidth% and WindowHeight% variables for future reference.
+The code opens the Templates file with Wimp_OpenTemplate, then loads the templates for the main window and program information window in turn. For each, a window is created immediately using Wimp_CreateWindow, with the handles being stored in the MainWindow% and InfoWindow% variables respectively. We also take the opportunity to calculate the width and height of the main window in OS Units, and store the values in the WindowWidth% and WindowHeight% variables for future reference.
The code uses PROCtemplate_load(), which puts a friendly wrapping around the Wimp_LoadTemplate SWI and expects there to be a global TemplateName% variable pointing to a 12 character plus terminator, word-aligned buffer for holding the template names. Its definition can be seen in .