You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

83 lines
2.4 KiB

Index: data/currencies.xml.in
--- data/currencies.xml.in.orig 2009-12-02 21:24:25.000000000 +0100
+++ data/currencies.xml.in 2015-01-18 18:53:38.955573176 +0100
@@ -23,7 +23,7 @@
<_names>ar:GBP,au:&#xA3;</_names>
</builtin_unit>
<builtin_unit name="THB">
- <_title>Thai Bat</_title>
+ <_title>Thai Baht</_title>
<_names>ar:THB</_names>
</builtin_unit>
<builtin_unit name="SEK">
@@ -51,7 +51,7 @@
<_names>ar:RUB,ruble</_names>
</builtin_unit>
<builtin_unit name="PHP">
- <_title>Phillipine Peso</_title>
+ <_title>Philippine Peso</_title>
<_names>ar:PHP</_names>
</builtin_unit>
<builtin_unit name="MYR">
@@ -63,7 +63,7 @@
<_names>ar:HRK</_names>
</builtin_unit>
<builtin_unit name="CNY">
- <_title>Yuan Renmimbi (PR China)</_title>
+ <_title>Yuan Renminbi (PR China)</_title>
<_names>ar:CNY</_names>
</builtin_unit>
<builtin_unit name="IDR">
@@ -219,7 +219,7 @@
</base>
</unit>
<unit type="alias">
- <_title>Deutche Mark</_title>
+ <_title>Deutsche Mark</_title>
<_names>ar:DEM,mark</_names>
<base>
<unit>EUR</unit>
Index: data/units.xml.in
--- data/units.xml.in.orig 2010-01-05 16:15:27.000000000 +0100
+++ data/units.xml.in 2015-01-18 18:53:38.955573176 +0100
@@ -1097,8 +1097,8 @@
</unit>
<unit type="alias">
<system>SI</system>
- <_title>Degree Celcius</_title>
- <_names>ar:oC,au:&#xB0;C,r:celcius</_names>
+ <_title>Degree Celsius</_title>
+ <_names>ar:oC,au:&#xB0;C,r:celsius</_names>
<base>
<unit>K</unit>
<relation>\x + 273.15</relation>
@@ -2508,7 +2508,7 @@
</base>
</unit>
<unit type="alias">
- <_title>Calorie (15 degrees Celcius)</_title>
+ <_title>Calorie (15 degrees Celsius)</_title>
<_names>ars:cal_fifteen</_names>
<base>
<unit>J</unit>
Index: src/qalc.cc
--- src/qalc.cc.orig 2010-01-05 16:17:29.000000000 +0100
+++ src/qalc.cc 2015-01-18 22:10:01.505679962 +0100
@@ -16,7 +16,7 @@
#include <time.h>
#include <pthread.h>
#include <dirent.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <stdio.h>
#include <vector>
#include <glib.h>
@@ -48,7 +48,7 @@
fd_set in_set;
struct timeval timeout;
-char buffer[1000];
+static char buffer[1000];
void *view_proc(void *pipe);
void *command_proc(void *pipe);