All pastes #583371 Raw Edit

Unnamed

public cpp v1 · immutable
·published 2007-06-22 10:17 UTC
rendered paste body
#include "LegendApp.h"string bFullScreen = CIniFile::GetValue("bFullScreen","Display",LEGEND_INI_NAME);bool FullScreen = CLegendApp::convertToBool(bFullScreen);bool CLegendApp::convertToBool(string s){if (s == "true"){	return true;}if (s == "false"){	return false;}else return true;}