diff options
author | Trumeet <yuuta@yuuta.moe> | 2021-03-12 22:01:18 -0800 |
---|---|---|
committer | Trumeet <yuuta@yuuta.moe> | 2021-03-12 22:01:18 -0800 |
commit | c0dbf471b41002c93ff85887ee56020145f29106 (patch) | |
tree | 3b8a40881a6a83de19c8ef21cb85393d7e66ef60 | |
parent | 5e59ff40e42d91c0e5fba059b9ab5f1d3d1bb9e5 (diff) | |
download | minebridge-c0dbf471b41002c93ff85887ee56020145f29106.tar minebridge-c0dbf471b41002c93ff85887ee56020145f29106.tar.gz minebridge-c0dbf471b41002c93ff85887ee56020145f29106.tar.bz2 minebridge-c0dbf471b41002c93ff85887ee56020145f29106.zip |
fix: photo size is incorrect
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |