From 26e34d8a738ac92e944f0dfd80b4471843fd8cc7 Mon Sep 17 00:00:00 2001 From: Allen Hai Date: Thu, 25 Oct 2018 18:45:20 -0500 Subject: [PATCH 1/2] provide consistent spacing to enum field --- lib/zstd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zstd.h b/lib/zstd.h index f2af4ac8..a1eac0c0 100644 --- a/lib/zstd.h +++ b/lib/zstd.h @@ -473,7 +473,7 @@ typedef struct { typedef struct ZSTD_CCtx_params_s ZSTD_CCtx_params; typedef enum { - ZSTD_dct_auto=0, /* dictionary is "full" when starting with ZSTD_MAGIC_DICTIONARY, otherwise it is "rawContent" */ + ZSTD_dct_auto = 0, /* dictionary is "full" when starting with ZSTD_MAGIC_DICTIONARY, otherwise it is "rawContent" */ ZSTD_dct_rawContent, /* ensures dictionary is always loaded as rawContent, even if it starts with ZSTD_MAGIC_DICTIONARY */ ZSTD_dct_fullDict /* refuses to load a dictionary if it does not respect Zstandard's specification */ } ZSTD_dictContentType_e; From 3783720f7054434dd04a2eab6e49f2327d2976f2 Mon Sep 17 00:00:00 2001 From: Allen Hai Date: Fri, 26 Oct 2018 16:16:06 -0500 Subject: [PATCH 2/2] vertically align code comment --- lib/zstd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zstd.h b/lib/zstd.h index a1eac0c0..d7646fda 100644 --- a/lib/zstd.h +++ b/lib/zstd.h @@ -473,7 +473,7 @@ typedef struct { typedef struct ZSTD_CCtx_params_s ZSTD_CCtx_params; typedef enum { - ZSTD_dct_auto = 0, /* dictionary is "full" when starting with ZSTD_MAGIC_DICTIONARY, otherwise it is "rawContent" */ + ZSTD_dct_auto = 0, /* dictionary is "full" when starting with ZSTD_MAGIC_DICTIONARY, otherwise it is "rawContent" */ ZSTD_dct_rawContent, /* ensures dictionary is always loaded as rawContent, even if it starts with ZSTD_MAGIC_DICTIONARY */ ZSTD_dct_fullDict /* refuses to load a dictionary if it does not respect Zstandard's specification */ } ZSTD_dictContentType_e;