summaryrefslogtreecommitdiff
path: root/src/rtfparser.cpp
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-03-31 02:42:24 +0000
committerStef Walter <stef@memberwebs.com>2004-03-31 02:42:24 +0000
commitc60a35fc2a50f938e0d2dcd726784afbb001a756 (patch)
tree648e452e97149aca40da5199b481b484406c4a12 /src/rtfparser.cpp
parentd33b51f5672580b3fee5054eaf892f7bb4520985 (diff)
Cleanup for unix
Diffstat (limited to 'src/rtfparser.cpp')
-rw-r--r--src/rtfparser.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/rtfparser.cpp b/src/rtfparser.cpp
index f2379b3..336847f 100644
--- a/src/rtfparser.cpp
+++ b/src/rtfparser.cpp
@@ -1,16 +1,10 @@
-// RtfReader.cpp: implementation of the RtfReader class.
-//
-//////////////////////////////////////////////////////////////////////
-#include "stdafx.h"
+#include "usuals.h"
#include <stdlib.h>
#include <stdio.h>
-#include "RtfReader.h"
+#include "rtfreader.h"
-//////////////////////////////////////////////////////////////////////
-// Construction/Destruction
-//////////////////////////////////////////////////////////////////////
const int RtfHandler::kAsterisk = 0x00000001;
const int RtfHandler::kHasParam = 0x00000002;
@@ -33,7 +27,7 @@ RtfReader::~RtfReader()
bool RtfReader::parse(string fileName)
{
- FILE* file = fopen(fileName, "r");
+ FILE* file = fopen(fileName.c_str(), "r");
if(!file)
return false;