X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Fsave.c;h=fe52cc4982c6f3985774ed8da7d7aeb2c76e1381;hp=1e87b4b208144adcf273b8b4f491af73d6219ddf;hb=b56f1875b3e8f5c2dfe1f00e35bc3b103044870a;hpb=4a99fe51561ca331df54512eb25c502d0fcd2b55 diff --git a/src/save.c b/src/save.c index 1e87b4b..fe52cc4 100644 --- a/src/save.c +++ b/src/save.c @@ -1,3 +1,20 @@ +/* Copyright (C) 1996-1997 Aleksey Volynskov + * Copyright (C) 2011 Rambo + * Copyright (C) 2020 SovietPony + * + * 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, version 3 of the License ONLY. + * + * 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, see . + */ + #include "save.h" #include "dots.h" @@ -526,7 +543,7 @@ static char *getsavfpname (int n, int ro) { static char p[100]; char *e = getenv("HOME"); strncpy(p, e, 60); - strcat(p, "/.doom2d-rembo"); + strcat(p, "/.flatwaifu"); if (!ro) { mkdir(p, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH); }