Fix from Semen Panevin 2:5025/121

This commit is contained in:
Stas Degteff 2005-10-17 15:10:33 +00:00
parent aae02f62bd
commit d5b32cade9

View File

@ -110,7 +110,7 @@ bool g_is_clip_available(void) {
char* g_get_clip_text(void) { char* g_get_clip_text(void) {
std::string clipfile = clipdir std::string clipfile = CLIPDIR;
clipfile += CLIPFILE; clipfile += CLIPFILE;
strschg_environ(clipfile); strschg_environ(clipfile);
size_t size = GetFilesize(clipfile.c_str()); size_t size = GetFilesize(clipfile.c_str());
@ -137,7 +137,7 @@ char* g_get_clip_text(void) {
int g_put_clip_text(const char* buf) { int g_put_clip_text(const char* buf) {
std::string clipfile = clipdir; std::string clipfile = CLIPDIR;
clipfile += CLIPFILE; clipfile += CLIPFILE;
strschg_environ(clipfile); strschg_environ(clipfile);
FILE *f = fopen(clipfile.c_str(), "wt"); FILE *f = fopen(clipfile.c_str(), "wt");