Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/blame/commit/d5ebe9cc98e6c38ea37cbbaa85bffbe0ef48bd34/thirdparty/xpdf/xpdf-3.02/splash/SplashFontFile.cc You should set ROOT_URL correctly, otherwise the web may not work correctly.
новые иконки в OpenBoard
OpenBoard/thirdparty/xpdf/xpdf-3.02/splash/SplashFontFile.cc

56 lines
1.1 KiB

//========================================================================
//
// SplashFontFile.cc
//
//========================================================================
#include <aconf.h>
#ifdef USE_GCC_PRAGMAS
#pragma implementation
#endif
#include <stdio.h>
#ifndef WIN32
# include <unistd.h>
#endif
#include "GString.h"
#include "SplashFontFile.h"
#include "SplashFontFileID.h"
#ifdef VMS
#if (__VMS_VER < 70000000)
extern "C" int unlink(char *filename);
#endif
#endif
//------------------------------------------------------------------------
// SplashFontFile
//------------------------------------------------------------------------
SplashFontFile::SplashFontFile(SplashFontFileID *idA, char *fileNameA,
GBool deleteFileA) {
id = idA;
fileName = new GString(fileNameA);
deleteFile = deleteFileA;
refCnt = 0;
}
SplashFontFile::~SplashFontFile() {
if (deleteFile) {
unlink(fileName->getCString());
}
delete fileName;
delete id;
}
void SplashFontFile::incRefCnt() {
++refCnt;
}
void SplashFontFile::decRefCnt() {
if (!--refCnt) {
delete this;
}
}