aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index d130318..7ea0319 100644
--- a/main.c
+++ b/main.c
@@ -157,9 +157,9 @@ run:
else if(tgmsg->photo_length > 0)
{
if(tgmsg->caption == NULL)
- sprintf(msg, "(%d photo%s)", tgmsg->photo_length, tgmsg->photo_length > 1 ? "s" : "");
+ sprintf(msg, "(Photo)");
else
- sprintf(msg, "%s (%d photo%s)", tgmsg->caption, tgmsg->photo_length, tgmsg->photo_length > 1 ? "s" : "");
+ sprintf(msg, "%s (Photo)", tgmsg->caption);
}
char *cmd = NULL;