upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / geany-plugins / trunk / libgit2.patch
blob871de3c8dd07bafc14141ca987c9979a43eeda78
1 diff --git i/git-changebar/src/gcb-plugin.c w/git-changebar/src/gcb-plugin.c
2 index f8ce20cd..4488b22f 100644
3 --- i/git-changebar/src/gcb-plugin.c
4 +++ w/git-changebar/src/gcb-plugin.c
5 @@ -216,7 +216,7 @@ static int
6 gcb_git_buf_grow (git_buf *buf,
7 size_t target_size)
9 - if (buf->asize == 0) {
10 + if (buf->reserved == 0) {
11 if (target_size == 0) {
12 target_size = buf->size;
14 @@ -234,7 +234,7 @@ buf_zero (git_buf *buf)
15 if (buf) {
16 buf->ptr = NULL;
17 buf->size = 0;
18 - buf->asize = 0;
19 + buf->reserved = 0;