From e9b2859c45d15fc30dcec2c54fab211476e21392 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 25 Feb 2016 13:34:07 -0800 Subject: Clean up modelines and indentation. HT tab stops are set every 8 spaces on UN*X; UN*X tools that treat an HT character as tabbing to 4-space tab stops, or that even are configurable but *default* to 4-space tab stops (I'm looking at *you*, Xcode!) are broken. tab-width: 4, tabstop=4, and tabSize=4 are errors if you ever expect anybody to look at your file with a UN*X tool, and every text file will probably be looked at by a UN*X tool at some point, so Don't Do That. Adjust indentation to reflect the mode lines. Change-Id: Icf0831717de10fc615971fa1cf75af2f1ea2d03d Reviewed-on: https://code.wireshark.org/review/14150 Reviewed-by: Guy Harris --- randpkt_core/randpkt_core.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'randpkt_core/randpkt_core.h') diff --git a/randpkt_core/randpkt_core.h b/randpkt_core/randpkt_core.h index 35265480cb..f7633fc048 100644 --- a/randpkt_core/randpkt_core.h +++ b/randpkt_core/randpkt_core.h @@ -74,11 +74,11 @@ gboolean randpkt_example_close(randpkt_example* example); * Editor modelines - http://www.wireshark.org/tools/modelines.html * * Local variables: - * c-basic-offset: 4 - * tab-width: 4 + * c-basic-offset: 8 + * tab-width: 8 * indent-tabs-mode: t * End: * - * vi: set shiftwidth=4 tabstop=4 noexpandtab: - * :indentSize=4:tabSize=4:noTabs=false: + * vi: set shiftwidth=8 tabstop=8 noexpandtab: + * :indentSize=8:tabSize=8:noTabs=false: */ -- cgit v1.2.1