From 3462576fd6bc883c41042fb7ae93ebabb12718d8 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 10 Aug 2008 14:30:23 +0200 Subject: Support for different preview image borders Strip trailing whitespaces --- gallery-utils.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'gallery-utils.h') diff --git a/gallery-utils.h b/gallery-utils.h index 95dbcff..dd97663 100644 --- a/gallery-utils.h +++ b/gallery-utils.h @@ -1,16 +1,16 @@ /* Cataract - Static web photo gallery generator * Copyright (C) 2008 Tomas Bzatek - * + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. @@ -25,23 +25,23 @@ * str_replace: replace substring 'search' with a 'replace' string * - multiple occurences of the string are replaced * - specify 'exclude_when' if you want to skip replace when a string found at the place of 'search' - * - reallocates the original string - */ + * - reallocates the original string + */ void str_replace (char **dst, const char *search, const char *replace, const char *exclude_when); /* - * copy_file: copy file from src to dst - */ + * copy_file: copy file from src to dst + */ gboolean copy_file (const char *src, const char *dst); /* - * make_string: make string of 'substr' substrings - * - returns newly allocated string - */ + * make_string: make string of 'substr' substrings + * - returns newly allocated string + */ char *make_string (const char* substr, const int count); /* * fix_entities: replace all invalid & entities with & - * - returns newly allocated string + * - returns newly allocated string */ -void fix_entities (char **str); \ No newline at end of file +void fix_entities (char **str); -- cgit v1.2.3