]> granicus.if.org Git - python/commitdiff
Correct the name of a field in the WIN32_FIND_DATAA and WIN32_FIND_DATAW structures.
authorThomas Heller <theller@ctypes.org>
Wed, 30 May 2007 07:01:25 +0000 (07:01 +0000)
committerThomas Heller <theller@ctypes.org>
Wed, 30 May 2007 07:01:25 +0000 (07:01 +0000)
Closes bug #1726026.

Lib/ctypes/wintypes.py

index a0fc0bb3c0723230d3f70534f5d7e9b4b1b0367b..e97b31dabc1260f4d4e262170e276c2c9d206a34 100644 (file)
@@ -147,7 +147,7 @@ class WIN32_FIND_DATAA(Structure):
                 ("dwReserved0", DWORD),
                 ("dwReserved1", DWORD),
                 ("cFileName", c_char * MAX_PATH),
-                ("cAlternameFileName", c_char * 14)]
+                ("cAlternateFileName", c_char * 14)]
 
 class WIN32_FIND_DATAW(Structure):
     _fields_ = [("dwFileAttributes", DWORD),
@@ -159,7 +159,7 @@ class WIN32_FIND_DATAW(Structure):
                 ("dwReserved0", DWORD),
                 ("dwReserved1", DWORD),
                 ("cFileName", c_wchar * MAX_PATH),
-                ("cAlternameFileName", c_wchar * 14)]
+                ("cAlternateFileName", c_wchar * 14)]
 
 __all__ = ['ATOM', 'BOOL', 'BOOLEAN', 'BYTE', 'COLORREF', 'DOUBLE',
            'DWORD', 'FILETIME', 'HACCEL', 'HANDLE', 'HBITMAP', 'HBRUSH',