Skip to content

Instantly share code, notes, and snippets.

View ambrop72's full-sized avatar

Ambroz Bizjak ambrop72

  • Cosylab
  • Slovenia
View GitHub Profile
diff --git a/dlls/msvcrt/printf.h b/dlls/msvcrt/printf.h
index 346fb5ac5d..975977087d 100644
--- a/dlls/msvcrt/printf.h
+++ b/dlls/msvcrt/printf.h
@@ -516,10 +516,14 @@ int FUNC_NAME(pf_printf)(FUNC_NAME(puts_clbk) pf_puts, void *puts_ctx, const API
} else if(*p == 'w')
flags.WideString = *p++;
#if _MSVCR_VER >= 140
- else if(*p == 'z')
+ else if(*p == 'z' || *p == 't')
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
CPU Family: 0x6
// Hardcoded constants
var statusRefreshInterval = 2000;
var configRefreshInterval = 120000;
var axisPrecision = 6;
var heaterPrecision = 4;
var fanPrecision = 3;
var speedPrecision = 4;
This file has been truncated, but you can view the full file.
tux = function() { return { points: [
[0.39781102538108826,-0.8096237182617188,5.771553039550781],
[0.49019017815589905,-0.7676991820335388,5.810841083526611],
[0.40703025460243225,-0.8027161359786987,5.783066272735596],
[0.39771994948387146,-0.8092138767242432,5.772771835327148],
[0.39781102538108826,-0.8096237182617188,5.771553039550781],
[0.40703025460243225,-0.8027161359786987,5.783066272735596],
[0.49439001083374023,-0.7808486819267273,5.770656585693359],
[0.49019017815589905,-0.7676991820335388,5.810841083526611],
[0.39781102538108826,-0.8096237182617188,5.771553039550781],
@ambrop72
ambrop72 / BoundedInt.h
Last active December 19, 2015 00:59
Suspected bug in avr-gcc
/*
* Copyright (c) 2013 Ambroz Bizjak
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the