summaryrefslogtreecommitdiff
path: root/sysutils/xosview/patches/patch-al
blob: 8c357c1bb53b162571453ef34536c82fb93d8d84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-al,v 1.2 2003/10/01 00:33:54 christos Exp $

--- fieldmeter.cc.orig	1999-02-16 09:08:35.000000000 -0500
+++ fieldmeter.cc	2003-09-30 20:28:39.000000000 -0400
@@ -8,2 +8,3 @@
 //
+#include <iostream>
 #include <fstream.h>
@@ -296,10 +297,10 @@
       || (x > x_ + width_) || (x + width > x_ + width_)){
-    cerr << "FieldMeter::checkX() : bad horiz values for meter : "
-         << name() << endl;
+    std::cerr << "FieldMeter::checkX() : bad horiz values for meter : "
+         << name() << std::endl;
 
-    cerr <<"value "<<x<<", width "<<width<<", total_ = "<<total_<<endl;
+    std::cerr <<"value "<<x<<", width "<<width<<", total_ = "<<total_<<std::endl;
 
     for (int i = 0 ; i < numfields_ ; i++)
-      cerr <<"fields_[" <<i <<"] = " <<fields_[i] <<",";
-    cerr <<endl;
+      std::cerr <<"fields_[" <<i <<"] = " <<fields_[i] <<",";
+    std::cerr <<std::endl;