1 |
commit c185afc1ffda00960af25c979d9e9b5359abccfc |
2 |
Author: Geert Janssens <janssens-geert@telenet.be> |
3 |
Date: Mon Mar 21 15:10:30 2011 +0000 |
4 |
|
5 |
Bug #615168: N_ in the root module |
6 |
|
7 |
Fix variable not found crasher. |
8 |
|
9 |
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20440 57a11ea4-9604-0410-9ed3-97b8803252fd |
10 |
|
11 |
diff --git a/src/app-utils/app-utils.scm b/src/app-utils/app-utils.scm |
12 |
index 3b00d50..7a114ef 100644 |
13 |
--- a/src/app-utils/app-utils.scm |
14 |
+++ b/src/app-utils/app-utils.scm |
15 |
@@ -20,6 +20,7 @@ |
16 |
(use-modules (srfi srfi-1)) |
17 |
(use-modules (gnucash main)) ;; FIXME: delete after we finish modularizing. |
18 |
(use-modules (gnucash gnc-module)) |
19 |
+(use-modules (ice-9 syncase)) |
20 |
|
21 |
(gnc:module-load "gnucash/engine" 0) |
22 |
|
23 |
diff --git a/src/app-utils/c-interface.scm b/src/app-utils/c-interface.scm |
24 |
index 0f912a3..e6243d7 100644 |
25 |
--- a/src/app-utils/c-interface.scm |
26 |
+++ b/src/app-utils/c-interface.scm |
27 |
@@ -15,8 +15,6 @@ |
28 |
;; 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 |
29 |
;; Boston, MA 02110-1301, USA gnu@gnu.org |
30 |
|
31 |
-(use-modules (ice-9 syncase)) |
32 |
- |
33 |
(define (gnc:error->string tag args) |
34 |
(define (write-error port) |
35 |
(if (and (list? args) (not (null? args))) |