summaryrefslogtreecommitdiff
path: root/soltools
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-07-02 18:25:02 +0200
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2015-07-04 10:21:01 +0000
commit0b7d51df3b4ce49f318dd9091df0bf7ba37cdd99 (patch)
treeb5cf38ba79bb7259fe3aeedf660a2ce804b66369 /soltools
parent462e986e0dbd533b3a15696555e08489963c9542 (diff)
Fix typos
Change-Id: Ic6415423f46aaee7ba90239a617c318cf92ae222 Reviewed-on: https://gerrit.libreoffice.org/16711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'soltools')
-rw-r--r--soltools/cpp/_lex.c2
-rw-r--r--soltools/cpp/_unix.c2
-rw-r--r--soltools/cpp/cpp.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/soltools/cpp/_lex.c b/soltools/cpp/_lex.c
index 3c35320a9bdc..4a9dcc7dddc5 100644
--- a/soltools/cpp/_lex.c
+++ b/soltools/cpp/_lex.c
@@ -597,7 +597,7 @@ int
{
int n = 1;
- /* skip pending wihite spaces */
+ /* skip pending white spaces */
while ((s->inp[n] == ' ') || (s->inp[n] == '\t'))
{
n++;
diff --git a/soltools/cpp/_unix.c b/soltools/cpp/_unix.c
index fa8abffec510..d68eed402074 100644
--- a/soltools/cpp/_unix.c
+++ b/soltools/cpp/_unix.c
@@ -39,7 +39,7 @@
int Pflag = 0; /* print no line information */
int Iflag = 0; /* print includes */
-int Mflag = 0; /* print macor expansion */
+int Mflag = 0; /* print macro expansion */
int Aflag = 0; /* translate character sets */
int Xflag = 0; /* print pragma for include/import */
int Vflag = 0; /* verbose flag */
diff --git a/soltools/cpp/cpp.h b/soltools/cpp/cpp.h
index 5e57118fbd89..dcf01e5a126a 100644
--- a/soltools/cpp/cpp.h
+++ b/soltools/cpp/cpp.h
@@ -21,7 +21,7 @@
#include <string.h>
#define INS 32768 /* input buffer */
-#define OBS 8092 /* outbut buffer */
+#define OBS 8092 /* output buffer */
#define NARG 32 /* Max number arguments to a macro */
#define NINCLUDE 48 /* Max number of include directories (-I) */
#define NIF 64 /* depth of nesting of #if */