summaryrefslogtreecommitdiff
path: root/devel/lincvs/patches/patch-ai
blob: 701a189b1bcd6d523d17bd60b151b1fc852a4d28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ai,v 1.1.1.1 2005/12/28 13:07:14 ghen Exp $

--- src/main.cpp.orig	2005-07-25 22:15:10.000000000 +0200
+++ src/main.cpp
@@ -302,7 +302,7 @@ int main( int argc, char ** argv ) 
    if (pos > -1) lang.truncate(pos);
    if (bDebug) qDebug("LANG: " + lang);
 
-   QString messagesDir = APPDIR + "/" + LC_MESSAGES_DIR;
+   QString messagesDir = "%%PREFIX%%/share/lincvs/messages";
    bool qt_ts_found = false;
    QTranslator translator( 0 );
    QTranslator qtTranslator( 0 );