From 7898fb6ef0261e0456d65929e13b430b22c37215 Mon Sep 17 00:00:00 2001 From: Antidote Date: Sun, 27 Jan 2013 17:39:52 -0800 Subject: [PATCH] * Fix isOpenWriting (implentation was erroneously named) --- src/TextStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TextStream.cpp b/src/TextStream.cpp index 23eba37..dee97b3 100644 --- a/src/TextStream.cpp +++ b/src/TextStream.cpp @@ -202,7 +202,7 @@ bool TextStream::isOpenForReading() const return ((m_accessmode == ReadOnly || m_accessmode == ReadWrite) && m_accessmode != WriteOnly); } -bool TextStream::isOpenForReading() const +bool TextStream::isOpenForWriting() const { return ((m_accessmode == WriteOnly || m_accessmode == ReadWrite) && m_accessmode != ReadOnly); }