summaryrefslogtreecommitdiff
path: root/sysutils/xosview/patches/patch-al
blob: 1e6ad32e57812502127a911751b4d9d3651906a7 (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
25
26
$NetBSD: patch-al,v 1.3 2003/10/01 01:14:35 christos Exp $

--- fieldmeter.cc.orig	1999-02-16 09:08:35.000000000 -0500
+++ fieldmeter.cc	2003-09-30 20:48:22.000000000 -0400
@@ -8,3 +8,4 @@
 //
-#include <fstream.h>
+#include <iostream>
+#include <fstream>
 #include <stdlib.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;