This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file findlinks.c | |
* @brief Find links | |
*/ | |
#include "pch.h" | |
#include "ntfsdefs.h" | |
#define FILE_SHARE_READWRITE (FILE_SHARE_READ | FILE_SHARE_WRITE) | |
typedef struct _FILENAME_PART { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cl_actorsafemode | |
cl_AISystem | |
cl_bandwidth | |
cl_bob | |
cl_camera_noise | |
cl_camera_noise_freq | |
cl_camKeepX | |
cl_camKeepY | |
cl_camKeepZ | |
cl_camModify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: lcl/include/customlistview.inc | |
=================================================================== | |
--- lcl/include/customlistview.inc (revision 57768) | |
+++ lcl/include/customlistview.inc (working copy) | |
@@ -1669,7 +1669,7 @@ | |
finally | |
EndUpdate; | |
end; | |
- end else | |
+ end else if FSelected <> nil then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unit ListViewBug; | |
interface | |
uses | |
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ComCtrls; | |
procedure ReproduceSegFault; | |
implementation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using Harmony; | |
using MapReroll.Patches; | |
using MapReroll.UI; | |
using RimWorld; | |
using UnityEngine; | |
using Verse; | |
namespace MapReroll.Compat { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Harmony; | |
using MapReroll.Patches; | |
using MapReroll.UI; | |
using RimWorld; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using System.Runtime.CompilerServices; | |
using UnityEngine; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
import os | |
import io | |
import errno | |
import array | |
import weakref | |
import tempfile | |
import functools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
goto main | |
:safeset | |
rem Set a variable only if it's not already set | |
if defined %~1 goto :EOF | |
call set "%~1=%%~2" | |
goto :EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function force_globals(globs) | |
-- Check for metatable on _G. If no metatable exists, | |
-- create one. | |
local _G_mt = getmetatable(_G) | |
if _G_mt == nil then | |
return setmetatable(_G, { | |
__index=globs | |
}) | |
end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:dirname | |
rem Given a filepath, resolve the absolute filepath of its parents folder. | |
rem \param [out] %1 - The variable name to output the results to. | |
rem \param [in] %2 - The filepath that we'll be operating on. | |
call set "%~1=%%~dp2" | |
call set "%~1=%%%~1:~0,-1%%" | |
goto :EOF |
NewerOlder