remove dangling spaces
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
/* common */
|
||||
#include "debugflag.h"
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
/* */
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
#ifndef DEBUGFLAG_H
|
||||
#define DEBUGFLAG_H
|
||||
|
||||
@@ -60,7 +60,7 @@ int CompareFilePos (const FilePos* P1, const FilePos* P2)
|
||||
** compare rates file index over line over column.
|
||||
*/
|
||||
{
|
||||
if (P1->Name > P2->Name) {
|
||||
if (P1->Name > P2->Name) {
|
||||
return 1;
|
||||
} else if (P1->Name < P2->Name) {
|
||||
return -1;
|
||||
|
||||
@@ -210,9 +210,9 @@ int PushSearchPath (SearchPaths* P, const char* NewPath)
|
||||
** that it's not already there. If the path is already at the first position,
|
||||
** return zero, otherwise return a non zero value.
|
||||
*/
|
||||
{
|
||||
{
|
||||
/* Generate a clean copy of NewPath */
|
||||
char* Path = CleanupPath (NewPath);
|
||||
char* Path = CleanupPath (NewPath);
|
||||
|
||||
/* If we have paths, check if Path is already at position zero */
|
||||
if (CollCount (P) > 0 && strcmp (CollConstAt (P, 0), Path) == 0) {
|
||||
|
||||
@@ -32,12 +32,12 @@
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
/* common */
|
||||
#include "check.h"
|
||||
#include "strstack.h"
|
||||
#include "xmalloc.h"
|
||||
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
@@ -66,7 +66,7 @@ char* StrCopy (char* Dest, size_t DestSize, const char* Source)
|
||||
|
||||
|
||||
int StrCaseCmp (const char* S1, const char* S2)
|
||||
/* Compare two strings ignoring case */
|
||||
/* Compare two strings ignoring case */
|
||||
{
|
||||
int Diff;
|
||||
while ((Diff = toupper (*S1) - toupper (*S2)) == 0 && *S1) {
|
||||
@@ -77,4 +77,4 @@ int StrCaseCmp (const char* S1, const char* S2)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#include <stdarg.h>
|
||||
|
||||
|
||||
|
||||
|
||||
/* No action if we have a working va_copy */
|
||||
#if !defined(va_copy)
|
||||
|
||||
|
||||
@@ -580,7 +580,7 @@ int xvsnprintf (char* Buf, size_t Size, const char* Format, va_list ap)
|
||||
CHECK (S != 0);
|
||||
/* Handle the length by using a precision */
|
||||
if ((P.Flags & fPrec) != 0) {
|
||||
/* Precision already specified, use length of string
|
||||
/* Precision already specified, use length of string
|
||||
** if less.
|
||||
*/
|
||||
if ((unsigned) P.Prec > SB_GetLen (S)) {
|
||||
|
||||
@@ -33,9 +33,9 @@
|
||||
|
||||
|
||||
|
||||
/* We need a way to output a StrBuf, but on the other side, we don't want to
|
||||
** switch off gcc's printf format string checking. So we cheat as follows:
|
||||
** %m (which is a gcc extension and doesn't take an argument) switches %p
|
||||
/* We need a way to output a StrBuf, but on the other side, we don't want to
|
||||
** switch off gcc's printf format string checking. So we cheat as follows:
|
||||
** %m (which is a gcc extension and doesn't take an argument) switches %p
|
||||
** between outputting a pointer and a string buf. This works just one time,
|
||||
** so each StrBuf needs in fact a %m%p spec. There's no way to apply a width
|
||||
** and precision to such a StrBuf, but *not* using %p would bring up a warning
|
||||
|
||||
Reference in New Issue
Block a user