From 9822411a0fcbd5f507e017bc638a54054b503ff4 Mon Sep 17 00:00:00 2001 From: Sergio Campama Date: Wed, 29 Mar 2017 17:35:51 -0400 Subject: Remove trailing whitespaces --- Foundation/GTMLocalizedString.h | 46 ++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'Foundation/GTMLocalizedString.h') diff --git a/Foundation/GTMLocalizedString.h b/Foundation/GTMLocalizedString.h index cbfbec1..c49b8a9 100644 --- a/Foundation/GTMLocalizedString.h +++ b/Foundation/GTMLocalizedString.h @@ -6,9 +6,9 @@ // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -20,19 +20,19 @@ #import "GTMDefines.h" // The NSLocalizedString macros do not have NS_FORMAT_ARGUMENT modifiers put -// on them which means you get warnings on Snow Leopard with when +// on them which means you get warnings on Snow Leopard with when // GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES and you do things like: -// NSString *foo +// NSString *foo // = [NSString stringWithFormat:NSLocalizedString(@"blah %@", nil), @"bar"]; // The GTMLocalizedString functions fix that for you so you can do: -// NSString *foo +// NSString *foo // = [NSString stringWithFormat:GTMLocalizedString(@"blah %@", nil), @"bar"]; // and you will compile cleanly. -// If you use genstrings you can call it with +// If you use genstrings you can call it with // genstrings -s GTMLocalizedString ... // and it should work as expected. // You can override how GTM gets its localized strings (if you are using -// something other than NSLocalizedString) by redefining +// something other than NSLocalizedString) by redefining // GTMLocalizedStringWithDefaultValueInternal. #ifndef GTMLocalizedStringWithDefaultValueInternal @@ -42,38 +42,38 @@ GTM_INLINE NS_FORMAT_ARGUMENT(1) NSString *GTMLocalizedString( NSString *key, NSString *comment) { - return GTMLocalizedStringWithDefaultValueInternal(key, - nil, - [NSBundle mainBundle], - @"", + return GTMLocalizedStringWithDefaultValueInternal(key, + nil, + [NSBundle mainBundle], + @"", comment); } GTM_INLINE NS_FORMAT_ARGUMENT(1) NSString *GTMLocalizedStringFromTable( NSString *key, NSString *tableName, NSString *comment) { - return GTMLocalizedStringWithDefaultValueInternal(key, - tableName, - [NSBundle mainBundle], - @"", + return GTMLocalizedStringWithDefaultValueInternal(key, + tableName, + [NSBundle mainBundle], + @"", comment); } GTM_INLINE NS_FORMAT_ARGUMENT(1) NSString *GTMLocalizedStringFromTableInBundle( NSString *key, NSString *tableName, NSBundle *bundle, NSString *comment) { - return GTMLocalizedStringWithDefaultValueInternal(key, - tableName, - bundle, - @"", + return GTMLocalizedStringWithDefaultValueInternal(key, + tableName, + bundle, + @"", comment); } GTM_INLINE NS_FORMAT_ARGUMENT(1) NSString *GTMLocalizedStringWithDefaultValue( NSString *key, NSString *tableName, NSBundle *bundle, NSString *value, NSString *comment) { - return GTMLocalizedStringWithDefaultValueInternal(key, - tableName, - bundle, - value, + return GTMLocalizedStringWithDefaultValueInternal(key, + tableName, + bundle, + value, comment); } -- cgit v1.2.3