Skip to content

Commit

Permalink
chore(swappy): rename swapp shot to swappshot
Browse files Browse the repository at this point in the history
  • Loading branch information
jtheoof committed Dec 23, 2019
1 parent b90500e commit 72374eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/application.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ static void action_save_area_to_file(struct swappy_state *state) {
c_time_string = ctime(&current_time);
c_time_string[strlen(c_time_string) - 1] = '\0';
char path[MAX_PATH];
snprintf(path, MAX_PATH, "%s/%s %s", state->storage_path, "Swapp Shot",
snprintf(path, MAX_PATH, "%s/%s %s", state->storage_path, "Swappshot",
c_time_string);
g_info("saving swapp shot to: \"%s\"", path);
g_info("saving swappshot to: \"%s\"", path);
gdk_pixbuf_savev(pixbuf, path, "png", NULL, NULL, &error);

if (error != NULL) {
Expand All @@ -148,7 +148,7 @@ static void action_save_area_to_file(struct swappy_state *state) {
}

char message[MAX_PATH];
snprintf(message, MAX_PATH, "Saved Swapp Shot to: %s\n", path);
snprintf(message, MAX_PATH, "Saved Swappshot to: %s\n", path);
notification_send("Swappy", message);
}

Expand Down

0 comments on commit 72374eb

Please sign in to comment.