Fix obscure C stdio bug
[projects/chimara/chimara.git] / libchimara / stream.h
index ef6b1f0dce5613e27e943ac7543275d7618c5bff..325b668bb22c96527b3199af9ee892342d875113 100644 (file)
@@ -48,8 +48,10 @@ struct glk_stream_struct
        FILE *file_pointer;
        gboolean binary;
        gchar *filename; /* Displayable filename in UTF-8 for error handling */
+       glui32 lastop; /* 0, filemode_Write, or filemode_Read */
 
        gchar *style; /* Name of the current style */
+       gchar *glk_style; /* Name of the current glk style override */
        gboolean hyperlink_mode; /* When turned on, text written to the stream will be a hyperlink */
 };