aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FbTk/Resource.hh10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/FbTk/Resource.hh b/src/FbTk/Resource.hh
index 25152bc..b5ba331 100644
--- a/src/FbTk/Resource.hh
+++ b/src/FbTk/Resource.hh
@@ -19,7 +19,7 @@
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.hh,v 1.2 2003/07/18 15:40:55 rathnor Exp $ 22// $Id: Resource.hh,v 1.3 2003/08/08 10:54:36 fluxgen Exp $
23 23
24#ifndef FBTK_RESOURCE_HH 24#ifndef FBTK_RESOURCE_HH
25#define FBTK_RESOURCE_HH 25#define FBTK_RESOURCE_HH
@@ -28,6 +28,8 @@
28 28
29#include <string> 29#include <string>
30#include <list> 30#include <list>
31#include <iostream>
32
31#include <X11/Xresource.h> 33#include <X11/Xresource.h>
32 34
33namespace FbTk { 35namespace FbTk {
@@ -184,9 +186,9 @@ void ResourceManager::addResource(Resource<T> &r) {
184 r.altName().c_str(), &value_type, &value)) { 186 r.altName().c_str(), &value_type, &value)) {
185 r.setFromString(value.addr); 187 r.setFromString(value.addr);
186 } else { 188 } else {
187 cerr<<"Failed to read: "<<r.name()<<endl; 189 std::cerr<<"Failed to read: "<<r.name()<<std::endl;
188 cerr<<"Setting default value"<<endl; 190 std::cerr<<"Setting default value"<<std::endl;
189 r.setDefaultValue(); 191 r.setDefaultValue();
190 } 192 }
191 193
192 unlock(); 194 unlock();