Subversion Repositories filter_foundry

Rev

Rev 539 | Rev 550 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 539 Rev 541
Line 1... Line 1...
1
/*
1
/*
2
    This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
2
    This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
3
    Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.net
3
    Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.net
4
    Copyright (C) 2018-2022 Daniel Marschall, ViaThinkSoft
4
    Copyright (C) 2018-2023 Daniel Marschall, ViaThinkSoft
5
 
5
 
6
    This program is free software; you can redistribute it and/or modify
6
    This program is free software; you can redistribute it and/or modify
7
    it under the terms of the GNU General Public License as published by
7
    it under the terms of the GNU General Public License as published by
8
    the Free Software Foundation; either version 2 of the License, or
8
    the Free Software Foundation; either version 2 of the License, or
9
    (at your option) any later version.
9
    (at your option) any later version.
Line 221... Line 221...
221
 
221
 
222
        PIUNLOCKHANDLE(h); // should not be necessary
222
        PIUNLOCKHANDLE(h); // should not be necessary
223
        if (!(e = PISETHANDLESIZE(h, (int32)(est))) && (p = start = PILOCKHANDLE(h, false))) {
223
        if (!(e = PISETHANDLESIZE(h, (int32)(est))) && (p = start = PILOCKHANDLE(h, false))) {
224
                char strBuildDate[11/*strlen("0000-00-00") + 1*/];
224
                char strBuildDate[11/*strlen("0000-00-00") + 1*/];
225
                time_t iBuildDate = time(0);
225
                time_t iBuildDate = time(0);
226
                strftime(strBuildDate, 100, "%Y-%m-%d", localtime(&iBuildDate));
226
                strftime(strBuildDate, 11, "%Y-%m-%d", localtime(&iBuildDate));
227
 
227
 
228
                checksliders(4, ctls, maps);
228
                checksliders(4, ctls, maps);
229
 
229
 
230
                // Metadata
230
                // Metadata
231
                p += sprintf(p, "# Created with Filter Foundry %s\r\n", VERSION_STR);
231
                p += sprintf(p, "# Created with Filter Foundry %s\r\n", VERSION_STR);