• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythongamewindowsbathyscaphephpguic翻訳omegattwitterframeworktestbtronarduinovb.net計画中(planning stage)directxpreviewerゲームエンジンdom

ショートカットキーでVTウィンドウの位置を動かせるようにします。


Commit MetaInfo

Revisãoe711b2217dc3f341689f6e0aab5c8d1f5afc4782 (tree)
Hora2019-08-26 15:35:36
AutorIWAMOTO Kouichi <sue@iwmt...>
CommiterIWAMOTO Kouichi

Mensagem de Log

Eliminate FAR keyword.

Mudança Sumário

Diff

--- a/TTXSetPosition.c
+++ b/TTXSetPosition.c
@@ -70,7 +70,7 @@ typedef struct {
7070 BOOL MultiMonitorSupported;
7171 } TInstVar;
7272
73-static TInstVar FAR * pvar;
73+static TInstVar * pvar;
7474
7575 /* WIN32 allows multiple instances of a DLL */
7676 static TInstVar InstVar;
@@ -83,7 +83,7 @@ typedef struct {
8383 int edge;
8484 } GetDeltaParam;
8585
86-static void PASCAL FAR TTXInit(PTTSet ts, PComVar cv) {
86+static void PASCAL TTXInit(PTTSet ts, PComVar cv) {
8787 OSVERSIONINFO osvi;
8888
8989 pvar->ts = ts;
@@ -302,7 +302,7 @@ void MovePosition(HWND HWin, int dir) {
302302 }
303303 }
304304
305-static int PASCAL FAR TTXProcessCommand(HWND hWin, WORD cmd) {
305+static int PASCAL TTXProcessCommand(HWND hWin, WORD cmd) {
306306 switch (cmd) {
307307 case ID_MOVE_UP:
308308 MovePosition(hWin, DIR_UP);
@@ -356,14 +356,14 @@ static TTXExports Exports = {
356356 NULL, // TTXEnd
357357 };
358358
359-BOOL __declspec(dllexport) PASCAL FAR TTXBind(WORD Version, TTXExports FAR * exports) {
359+BOOL __declspec(dllexport) PASCAL TTXBind(WORD Version, TTXExports * exports) {
360360 int size = sizeof(Exports) - sizeof(exports->size);
361361
362362 if (size > exports->size) {
363363 size = exports->size;
364364 }
365- memcpy((char FAR *)exports + sizeof(exports->size),
366- (char FAR *)&Exports + sizeof(exports->size),
365+ memcpy((char *)exports + sizeof(exports->size),
366+ (char *)&Exports + sizeof(exports->size),
367367 size);
368368 return TRUE;
369369 }