summaryrefslogtreecommitdiff
path: root/textproc/isearch/patches/patch-src_sw.hxx
blob: 20b18d42867bccfbde9faff962173d3d2631d73f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-src_sw.hxx,v 1.1 2012/12/21 10:29:47 dholland Exp $

Chase after the C++ standard:
   - string constants are const char *

--- src/sw.hxx~	1998-12-10 05:35:06.000000000 +0000
+++ src/sw.hxx
@@ -2,7 +2,7 @@
 #define SW_HXX
 
 // 400 words
-char   *stoplist[] = {
+const char   *stoplist[] = {
   "0",
   "1",
   "2",