aboutsummaryrefslogtreecommitdiff
path: root/src/Resource.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-02-04 06:47:34 (GMT)
committerfluxgen <fluxgen>2002-02-04 06:47:34 (GMT)
commit511dca32f83b35188d0b61c63fb5a32fddcb6bc6 (patch)
treebd22b2f74a71f8a71e712805479880c00df33b76 /src/Resource.cc
parent374266759c17f54299c1b3d19a7de49f034aa564 (diff)
downloadfluxbox_pavel-511dca32f83b35188d0b61c63fb5a32fddcb6bc6.zip
fluxbox_pavel-511dca32f83b35188d0b61c63fb5a32fddcb6bc6.tar.bz2
minor indent
Diffstat (limited to 'src/Resource.cc')
-rw-r--r--src/Resource.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Resource.cc b/src/Resource.cc
index c53e301..8bd4e26 100644
--- a/src/Resource.cc
+++ b/src/Resource.cc
@@ -19,6 +19,8 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Resource.cc,v 1.2 2002/02/04 06:47:34 fluxgen Exp $
23
22#include "Resource.hh" 24#include "Resource.hh"
23#include "XrmDatabaseHelper.hh" 25#include "XrmDatabaseHelper.hh"
24 26
@@ -55,7 +57,7 @@ bool ResourceManager::load(const char *filename) {
55 Resource_base *resource = *i; 57 Resource_base *resource = *i;
56 if (XrmGetResource(*database, resource->getName().c_str(), 58 if (XrmGetResource(*database, resource->getName().c_str(),
57 resource->getAltName().c_str(), &value_type, &value)) 59 resource->getAltName().c_str(), &value_type, &value))
58 resource->setFromString(value.addr); 60 resource->setFromString(value.addr);
59 else { 61 else {
60 cerr<<"Faild to read: "<<resource->getName()<<endl; 62 cerr<<"Faild to read: "<<resource->getName()<<endl;
61 cerr<<"Setting default value"<<endl; 63 cerr<<"Setting default value"<<endl;