all repos — fluxbox @ babf480280200fa4af3d8ab917a9f9ad76a6309c

custom fork of the fluxbox windowmanager

minor fix
fluxgen fluxgen
commit

babf480280200fa4af3d8ab917a9f9ad76a6309c

parent

db1b89b4f0283f32051344430292c1cae8622285

1 files changed, 6 insertions(+), 4 deletions(-)

jump to
M src/FbTk/Resource.hhsrc/FbTk/Resource.hh

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Resource.hh,v 1.2 2003/07/18 15:40:55 rathnor Exp $ +// $Id: Resource.hh,v 1.3 2003/08/08 10:54:36 fluxgen Exp $ #ifndef FBTK_RESOURCE_HH #define FBTK_RESOURCE_HH

@@ -28,6 +28,8 @@ #include "NotCopyable.hh"

#include <string> #include <list> +#include <iostream> + #include <X11/Xresource.h> namespace FbTk {

@@ -184,9 +186,9 @@ if (XrmGetResource(**m_database, r.name().c_str(),

r.altName().c_str(), &value_type, &value)) { r.setFromString(value.addr); } else { - cerr<<"Failed to read: "<<r.name()<<endl; - cerr<<"Setting default value"<<endl; - r.setDefaultValue(); + std::cerr<<"Failed to read: "<<r.name()<<std::endl; + std::cerr<<"Setting default value"<<std::endl; + r.setDefaultValue(); } unlock();