some tabs to spaces
cd src
grep -P -n '\t' *.c | grep -v "1:"
cd ../include
grep -P -n '\t' *.h | grep -v "1:"
cd ..
side note: win/Qt/*.cpp are full of tabs
This commit is contained in:
+3
-3
@@ -1,11 +1,11 @@
|
||||
/* NetHack 3.7 wintext.c $NHDT-Date: 1597967808 2020/08/20 23:56:48 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.22 $ */
|
||||
/* Copyright (c) Dean Luick, 1992 */
|
||||
/* Copyright (c) Dean Luick, 1992 */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
/*
|
||||
* File for dealing with text windows.
|
||||
*
|
||||
* + No global functions.
|
||||
* + No global functions.
|
||||
*/
|
||||
|
||||
#ifndef SYSV
|
||||
@@ -194,7 +194,7 @@ display_text_window(struct xwindow *wp, boolean blocking)
|
||||
|
||||
if (width > (Dimension) XtScreen(wp->w)->width) { /* too wide for screen */
|
||||
/* Back off some amount - we really need to back off the scrollbar */
|
||||
/* width plus some extra. */
|
||||
/* width plus some extra. */
|
||||
width = XtScreen(wp->w)->width - 20;
|
||||
}
|
||||
XtSetArg(args[num_args], XtNstring, text_info->text.text);
|
||||
|
||||
Reference in New Issue
Block a user