From 2df486b024e96302b2d376403863c725eb1d4984 Mon Sep 17 00:00:00 2001 From: smiley286 Date: Mon, 17 Jul 2023 16:22:34 +0800 Subject: [PATCH] =?UTF-8?q?*=20=E6=94=B9=E5=8A=A8=E8=AF=B4=E6=98=8E?= =?UTF-8?q?=EF=BC=9A=E9=80=82=E9=85=8D=E9=BA=92=E9=BA=9F=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=A7=E5=B0=8F=E7=9A=84=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E8=A7=84=E8=8C=83=EF=BC=88XB=E4=BB=A51024=E8=BF=9B=E5=88=B6?= =?UTF-8?q?=EF=BC=89=EF=BC=8Cglib=E5=8E=9F=E6=9C=AC=E5=AE=9E=E7=8E=B0?= =?UTF-8?q?=EF=BC=88XB=E4=BB=A51000=E8=BF=9B=E5=88=B6=EF=BC=9BXiB=E4=BB=A5?= =?UTF-8?q?1024=E8=BF=9B=E5=88=B6=EF=BC=89=20*=20BUG=E5=8F=B7=EF=BC=9A1565?= =?UTF-8?q?28=20=E3=80=90GTK=E9=9C=80=E6=B1=8219254=E3=80=91=E3=80=90?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E6=9F=A5=E7=9C=8B=E5=99=A8=E3=80=91=E9=80=9A?= =?UTF-8?q?=E8=BF=87=E6=96=87=E6=A1=A3=E6=9F=A5=E7=9C=8B=E5=99=A8=E6=89=93?= =?UTF-8?q?=E5=BC=80=E6=96=87=E4=BB=B6=E5=88=97=E8=A1=A8=E7=9A=84=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=A7=E5=B0=8F=E4=B8=8E=E5=B1=9E=E6=80=A7=E9=87=8C?= =?UTF-8?q?=E7=9A=84=E5=A4=A7=E5=B0=8F=E4=B8=8D=E4=B8=80=E8=87=B4=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20103652=20=E3=80=90=E7=94=A8=E4=BE=8B242456?= =?UTF-8?q?=E3=80=91=E3=80=90=E5=BD=92=E6=A1=A3=E7=AE=A1=E7=90=86=E5=99=A8?= =?UTF-8?q?=E3=80=91=E5=BD=92=E6=A1=A3=E6=96=87=E4=BB=B6-=E6=89=93?= =?UTF-8?q?=E5=BC=80=E7=AA=97=E5=8F=A3=E6=98=BE=E7=A4=BA=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E4=B8=8E=E6=96=87=E4=BB=B6=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=99=A8=E4=B8=8D=E4=B8=80=E8=87=B4=20*=20=E9=9C=80=E6=B1=82/?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=8F=B7=EF=BC=9A=20*=20=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E6=94=B9=E5=8A=A8=EF=BC=9A=20*=20=E5=BD=B1=E5=93=8D=E5=9F=9F?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=EF=BC=9A=E5=BD=B1=E5=93=8D=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E3=80=81=E7=A3=81=E7=9B=98=E5=A4=A7=E5=B0=8F=E6=8D=A2=E7=AE=97?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E7=9A=84=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- glib/gutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gutils.c b/glib/gutils.c index 78ccd61..4ecd276 100644 --- a/glib/gutils.c +++ b/glib/gutils.c @@ -2751,7 +2751,7 @@ g_nullify_pointer (gpointer *nullify_location) *nullify_location = NULL; } -#define KILOBYTE_FACTOR (G_GOFFSET_CONSTANT (1000)) +#define KILOBYTE_FACTOR (G_GOFFSET_CONSTANT (1024)) #define MEGABYTE_FACTOR (KILOBYTE_FACTOR * KILOBYTE_FACTOR) #define GIGABYTE_FACTOR (MEGABYTE_FACTOR * KILOBYTE_FACTOR) #define TERABYTE_FACTOR (GIGABYTE_FACTOR * KILOBYTE_FACTOR)