From a555469943096bd215bd7e9670f4560facda82e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20F=C3=A9vry?= Date: Sat, 24 Aug 2013 19:34:22 +0200 Subject: [PATCH] Fix typos in util/gdb --- utils/gdb/wesnoth_gdb.py | 2 +- utils/gdb/wesnoth_pretty_printers.py | 2 +- utils/gdb/wesnoth_type_tools.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/gdb/wesnoth_gdb.py b/utils/gdb/wesnoth_gdb.py index 44bc28b0ba1..5ec15ff0af4 100644 --- a/utils/gdb/wesnoth_gdb.py +++ b/utils/gdb/wesnoth_gdb.py @@ -37,7 +37,7 @@ import sys, gdb def help(): print __doc__ -#Force a reload, which is handy if you are interactively editting +#Force a reload, which is handy if you are interactively editing if 'register_wesnoth_pretty_printers' in sys.modules: reload(register_wesnoth_pretty_printers) else: diff --git a/utils/gdb/wesnoth_pretty_printers.py b/utils/gdb/wesnoth_pretty_printers.py index 03819f20d8e..96ef778dc88 100644 --- a/utils/gdb/wesnoth_pretty_printers.py +++ b/utils/gdb/wesnoth_pretty_printers.py @@ -12,7 +12,7 @@ from wesnoth_type_tools import strip_all_type, dereference_if_possible class RecursionManager(object): - """Keeps track of the levels of recrusion and whether expansion should happen or not """ + """Keeps track of the levels of recursion and whether expansion should happen or not """ default = 2 curr = 0 diff --git a/utils/gdb/wesnoth_type_tools.py b/utils/gdb/wesnoth_type_tools.py index 82ba6da5546..2978d120d71 100644 --- a/utils/gdb/wesnoth_type_tools.py +++ b/utils/gdb/wesnoth_type_tools.py @@ -18,7 +18,7 @@ def strip_all_type(val): return type def dereference_if_possible(val): - """ Derefence val if possible""" + """ Dereference val if possible""" # Get the type. type = val.type.unqualified()